Skip to content

Commit

Permalink
Removed function_replacement_data_v2_t.
Browse files Browse the repository at this point in the history
--HG--
branch : remove-legacy-api-hg
  • Loading branch information
Daniel K. O. (dkosmari) committed Oct 12, 2024
1 parent 72332e6 commit 0d3b76d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions include/function_patcher/fpatching_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,6 @@ typedef enum FunctionPatcherTargetProcess {
typedef uint32_t PatchedFunctionHandle;
#define FUNCTION_REPLACEMENT_DATA_STRUCT_VERSION 0x00000003

typedef struct function_replacement_data_v2_t {
uint32_t VERSION;
uint32_t physicalAddr; /* [needs to be filled] */
uint32_t virtualAddr; /* [needs to be filled] */
uint32_t replaceAddr; /* [needs to be filled] Address of our replacement function */
uint32_t *replaceCall; /* [needs to be filled] Address to access the real_function */
function_replacement_library_type_t library; /* [needs to be filled] rpl where the function we want to replace is. */
const char *function_name; /* [needs to be filled] name of the function we want to replace */
FunctionPatcherTargetProcess targetProcess; /* [will be filled] */
} function_replacement_data_v2_t;

typedef struct function_replacement_data_t {
uint32_t version;
FunctionPatcherFunctionType type;
Expand Down

0 comments on commit 0d3b76d

Please sign in to comment.