aboutsummaryrefslogtreecommitdiff
path: root/lib/transform-dis.h
diff options
context:
space:
mode:
authorcomex2015-01-17 22:24:13 -0500
committercomex2015-01-17 22:24:13 -0500
commitd281e5233f304dab603d638a623ae54af8117ce7 (patch)
tree6605309de4f0e0728f7d9171528f376906af00f0 /lib/transform-dis.h
parentmisc. objc trimmings (diff)
downloadsubstitute-d281e5233f304dab603d638a623ae54af8117ce7.tar.gz
improve test; thumb2 fixes
Diffstat (limited to 'lib/transform-dis.h')
-rw-r--r--lib/transform-dis.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/transform-dis.h b/lib/transform-dis.h
new file mode 100644
index 0000000..28e5d72
--- /dev/null
+++ b/lib/transform-dis.h
@@ -0,0 +1,10 @@
+#pragma once
+#include <stdint.h>
+#include <stdbool.h>
+
+int transform_dis_main(const void *restrict code_ptr,
+ void **restrict rewritten_ptr_ptr,
+ uintptr_t pc_patch_start,
+ uintptr_t pc_patch_end,
+ bool pc_low_bit,
+ int *offset_by_pcdiff);