mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
13 lines
400 B
C
13 lines
400 B
C
#ifndef _plugin_ndisasm_ndisasm_h_
|
|
#define _plugin_ndisasm_ndisasm_h_
|
|
|
|
NAMESPACE_UPP
|
|
|
|
static const int NDISASM_INSN_MAX = 32; // one instruction can't be longer than this
|
|
static const int NDISASM_OUTBUF_SIZE = 256; // maximum length of disassembly output
|
|
|
|
int NDisassemble(char *output, const byte *data, uint64 offset, bool x64 = false); // returns instruction length
|
|
|
|
END_UPP_NAMESPACE
|
|
|
|
#endif
|