aboutsummaryrefslogtreecommitdiff
path: root/lib/transform-dis.h
blob: 28e5d7241aa7bd326fa0da6be376e79b64c2d869 (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,
                       bool pc_low_bit,
                       int *offset_by_pcdiff);