aboutsummaryrefslogtreecommitdiff
path: root/lib/jump-dis.h
diff options
context:
space:
mode:
authorcomex2015-02-08 23:45:24 -0500
committercomex2015-02-08 23:45:24 -0500
commiteb93cee2a22cde812ccd6b9bd418d36185c058f5 (patch)
tree43a22ccf021a1513dba3a9c99f7b81822fe950fa /lib/jump-dis.h
parentformatting (diff)
downloadsubstitute-eb93cee2a22cde812ccd6b9bd418d36185c058f5.tar.gz
Refactor disassembly so x86 works, and add x86 transform-dis.
This patch is a monolithic mess, because I was too lazy to do the refactor first (that would require some stash fun, since I wasn't actually sure before doing x86 transform-dis what would be needed). Anyway, the resulting code should be cleaner - less duplication. This breaks ARM/ARM64.
Diffstat (limited to 'lib/jump-dis.h')
-rw-r--r--lib/jump-dis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/jump-dis.h b/lib/jump-dis.h
index 575a84d..fccd1a6 100644
--- a/lib/jump-dis.h
+++ b/lib/jump-dis.h
@@ -1,6 +1,7 @@
#pragma once
#include <stdint.h>
#include <stdbool.h>
+#include stringify(TARGET_DIR/arch-dis.h)
bool jump_dis_main(void *code_ptr, uintptr_t pc_patch_start, uintptr_t pc_patch_end,
struct arch_dis_ctx initial_dis_ctx);