mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
13 lines
386 B
C++
13 lines
386 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
|
|
|
|
}
|
|
|
|
#endif
|