diff options
Diffstat (limited to 'src/include/x64trace.h')
| -rwxr-xr-x | src/include/x64trace.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/x64trace.h b/src/include/x64trace.h new file mode 100755 index 00000000..662f2740 --- /dev/null +++ b/src/include/x64trace.h @@ -0,0 +1,17 @@ +#ifndef __X64TRACE_H_ +#define __X64TRACE_H_ +#include <stdint.h> + +typedef struct box64context_s box64context_t; +typedef struct zydis_dec_s zydis_dec_t; + +int InitX64Trace(box64context_t *context); +void DeleteX64Trace(box64context_t *context); + +zydis_dec_t* InitX64TraceDecoder(box64context_t *context); +void DeleteX64TraceDecoder(zydis_dec_t **dec); +const char* DecodeX64Trace(zydis_dec_t *dec, uintptr_t p); + +#define ZYDIS_RUNTIME_ADDRESS_NONE (uint64_t)(-1) + +#endif //__X64TRACE_H_ \ No newline at end of file |