aboutsummaryrefslogtreecommitdiff
path: root/lib/transform-dis.h
blob: 70fe57a61d372ec5bc0924e5113b71dbc6296457 (plain) (blame)
1
2
3
4
5
6
7
8
9
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_p,
                       struct arch_dis_ctx *arch_ctx_p,
                       int *offset_by_pcdiff);