Inline Assembly Dangers
2024-02-29
Prepare, this is a long one. If you just want to see the fix, skip to the bottom.
Problem 1
I’ve been having an issue with the PS2 SDK, using my discord messages for reference, I’ve first run into this since the middle of 2023.
It’s pretty simple, load any PS2SDK ELF, soft reset with ps2link, and load the elf again.
This will result in a TLB miss (crash). Investigating, I found that the miss originates in
libcglue timezone startup code.
Because this is weakly linked, providing an empt...
Read more at fobes.dev