Closed yujack008 closed 1 month ago
In cpp setOpcode need opcode size, but my code in memory raw. how to calc inst length in raw. void setOpcode(const void* opcode, triton::uint32 size);
void setOpcode(const void* opcode, triton::uint32 size);
Just set the max size like 16 on x86 or 4 on arm. Triton will decode only one instruction at time.
In cpp setOpcode need opcode size, but my code in memory raw. how to calc inst length in raw.
void setOpcode(const void* opcode, triton::uint32 size);