OLD | NEW |
1 #ifndef LIBDISASM_H | 1 #ifndef LIBDISASM_H |
2 #define LIBDISASM_H | 2 #define LIBDISASM_H |
3 | 3 |
4 #ifdef WIN32 | |
5 #include <windows.h> | |
6 #endif | |
7 | |
8 #include <stdint.h> | 4 #include <stdint.h> |
9 | 5 |
10 /* 'NEW" types | 6 /* 'NEW" types |
11 * __________________________________________________________________________*/ | 7 * __________________________________________________________________________*/ |
12 #ifndef LIBDISASM_QWORD_H /* do not interfere with qword.h */ | 8 #ifndef LIBDISASM_QWORD_H /* do not interfere with qword.h */ |
13 #define LIBDISASM_QWORD_H | 9 #define LIBDISASM_QWORD_H |
14 #ifdef _MSC_VER | 10 #ifdef _MSC_VER |
15 typedef __int64 qword_t; | 11 typedef __int64 qword_t; |
16 #else | 12 #else |
17 typedef int64_t qword_t; | 13 typedef int64_t qword_t; |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 /* return the size in bytes of the intruction pointed to by 'buf'; | 823 /* return the size in bytes of the intruction pointed to by 'buf'; |
828 * this used x86_invariant_disasm since it faster than x86_disasm */ | 824 * this used x86_invariant_disasm since it faster than x86_disasm */ |
829 size_t x86_size_disasm( unsigned char *buf, unsigned int buf_len ); | 825 size_t x86_size_disasm( unsigned char *buf, unsigned int buf_len ); |
830 | 826 |
831 #ifdef __cplusplus | 827 #ifdef __cplusplus |
832 } | 828 } |
833 #endif | 829 #endif |
834 | 830 |
835 | 831 |
836 #endif | 832 #endif |
OLD | NEW |