ultimatepp/uppsrc/plugin/ndisasm/ndisasm.h
cxl 43f750cf91 ide: 64-bit pdb debugging
git-svn-id: svn://ultimatepp.org/upp/trunk@7581 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-08-10 17:33:31 +00:00

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