Parser class handles the parsing and writing the instructions back to data buffer.
More...
#include <uint.fuzzer.hpp>
|
| template<typename Instruction::OPCODE opcode> |
| static Instruction | parseInstructionArgs (uint8_t *Data) |
| | Parse a single instruction from data.
|
| |
| template<typename Instruction::OPCODE instruction_opcode> |
| static void | writeInstruction (Instruction &instruction, uint8_t *Data) |
| | Write a single instruction to buffer.
|
| |
template<typename
Builder>
class UintFuzzBase< Builder >::Parser
Parser class handles the parsing and writing the instructions back to data buffer.
◆ parseInstructionArgs()
template<typename Instruction::OPCODE opcode>
Parse a single instruction from data.
- Template Parameters
-
| opcode | The opcode we are parsing |
- Parameters
-
| Data | Pointer to arguments in buffer |
- Returns
- Parsed instructiong
◆ writeInstruction()
template<typename Instruction::OPCODE instruction_opcode>
Write a single instruction to buffer.
- Template Parameters
-
- Parameters
-
| instruction | instruction |
| Data | Pointer to the data buffer (needs to have enough space for the instruction) |
The documentation for this class was generated from the following file: