-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved
function_replacement_data_v2_t
to a private header.
- Loading branch information
Daniel K. O. (dkosmari)
committed
Oct 12, 2024
1 parent
3ac4d19
commit 1274200
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#pragma once | ||
|
||
/* Types that are kept only for ABI compatibility. */ | ||
|
||
#include <stdint.h> | ||
#include <function_patcher/fpatching_defines.h> | ||
|
||
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; |