diff options
author | comex | 2015-01-17 22:24:13 -0500 |
---|---|---|
committer | comex | 2015-01-17 22:24:13 -0500 |
commit | d281e5233f304dab603d638a623ae54af8117ce7 (patch) | |
tree | 6605309de4f0e0728f7d9171528f376906af00f0 /lib/transform-dis.h | |
parent | misc. objc trimmings (diff) | |
download | substitute-d281e5233f304dab603d638a623ae54af8117ce7.tar.gz |
improve test; thumb2 fixes
Diffstat (limited to 'lib/transform-dis.h')
-rw-r--r-- | lib/transform-dis.h | 10 |
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); |