blob: 6fe436cc8f059a322488ec5d12a6acad5955325a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <stdint.h>
#include <stdbool.h>
#include "dis.h"
#define TRANSFORM_DIS_BAN_CALLS 1
#define TRANSFORM_DIS_REL_JUMPS 2
int transform_dis_main(const void *restrict code_ptr,
void **restrict rewritten_ptr_ptr,
uint_tptr pc_patch_start,
uint_tptr *pc_patch_end_p,
uint_tptr pc_trampoline,
struct arch_dis_ctx *arch_ctx_p,
int options);
|