ultimatepp/uppsrc/plugin/ndisasm/ndisasm.h
cxl 8ebdcbb0d5 uppsrc: NAMESPACE_UPP / END_UPP_NAMESPACE removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-26 17:15:30 +00:00

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