273 unsigned char opcode;
290 if (code_len < 1 +
len) {
static short opcodes[256]
bool EVM_getInstruction(csh ud, const uint8_t *code, size_t code_len, MCInst *MI, uint16_t *size, uint64_t address, void *inst_info)
void EVM_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
@ EVM_GRP_MATH
math instructions
@ EVM_GRP_STORE_READ
instructions read from storage
@ EVM_GRP_STACK_WRITE
instructions write to stack
@ EVM_GRP_JUMP
all jump instructions
@ EVM_GRP_MEM_WRITE
instructions write to memory
@ EVM_GRP_MEM_READ
instructions read from memory
@ EVM_GRP_STACK_READ
instructions read from stack
@ EVM_GRP_HALT
instructions halt execution
@ EVM_GRP_STORE_WRITE
instructions write to storage
#define offsetof(type, member)
return memset(p, 0, total)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
unsigned char evm_data[32]