diff options
author | comex | 2015-01-17 14:56:03 -0500 |
---|---|---|
committer | comex | 2015-01-17 14:56:03 -0500 |
commit | 96e2b019e525b81a33bae5e6aeafc0e667f04f20 (patch) | |
tree | 2fe5160dc57bffa95cbd80a2184fa539a06b76b8 /lib/dis.h | |
parent | interpose works; add test (diff) | |
download | substitute-96e2b019e525b81a33bae5e6aeafc0e667f04f20.tar.gz |
reorganization
Diffstat (limited to 'lib/dis.h')
-rw-r--r-- | lib/dis.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -104,3 +104,17 @@ static const unsigned null_op = -0x100; return; \ } while (0) +#if defined(TARGET_x86_64) + #define MIN_INSN_SIZE 1 + #error "no x86 dis yet" +#elif defined(TARGET_i386) + #define MIN_INSN_SIZE 1 + #error "no x86 dis yet" +#elif defined(TARGET_arm) + #define MIN_INSN_SIZE 2 + #define TARGET_DIS_HEADER "dis-arm-multi.inc.h" +#elif defined(TARGET_arm64) + #define MIN_INSN_SIZE 4 + #define TARGET_DIS_HEADER "dis-arm64.inc.h" +#endif + |