diff options
Diffstat (limited to '')
-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); |