mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-10-03 19:08:24 -04:00
Feature/stub by address (#61)
* feat: split runtime code in small files to be easy to develop * feat: split stubs in inl files * feat: function auto link function treat functions with underscore as same as without underscore * feat: remove underscore prefix from stubs * feat: thread and flags refactor * feat: propagate request stop feat: some elf validation on runtime * feat: remove Z7 compiler options feat: added a literal float case error on vu * fix: fix critical recompiler error on marking pc calls * feat: better system interrupt refactor: small refactor on thread system * feat: stubs implements for resident evil code veronica * feat: merge fileio * feat: stub by address * feat: codegen now auto-routes J/JAL callssites with known relocation symbols to syscalls/stubs
This commit is contained in:
@@ -11,8 +11,19 @@ single_file_output = false
|
||||
# Path to runtime header (optional)
|
||||
runtime_header = "include/ps2_runtime.h"
|
||||
|
||||
# Functions to stub (these will generate empty implementations)
|
||||
stubs = ["printf", "malloc", "free", "memcpy", "memset", "strncpy", "sprintf"]
|
||||
# Functions to stub (these will generate wrappers to runtime syscall/stub handlers when names match)
|
||||
# You can also bind stripped functions by address with "handler@0xADDRESS".
|
||||
stubs = [
|
||||
"printf",
|
||||
"malloc",
|
||||
"free",
|
||||
"memcpy",
|
||||
"memset",
|
||||
"strncpy",
|
||||
"sprintf",
|
||||
# "sceCdRead@0x00123456",
|
||||
# "SifLoadModule@0x00127890",
|
||||
]
|
||||
|
||||
# Functions to skip (these will not be recompiled)
|
||||
skip = ["abort", "exit", "_exit"]
|
||||
|
||||
Reference in New Issue
Block a user