Following his Bad_Hoist GIT Repo Fork and Noob-Friendly Porting Guide based off @sleirsgoevy's (Github / Twitter) previous contributions, PlayStation 4 Scene developer PaulJenkin aka @Peeter made available a PS4GOTDumper awhile back for duplicating the PS4 GOT (Global Offset Table) address in a synchronous way allowing scene devs to find the base address of the jumps for each block.
Download: PS4GOTDumper-master.zip / GIT
Note: This project was committed to Github last August, but was inadvertently overlooked when initially released so check it out below.
Here's additional details from the README.md for those interested: PS4GOTDumper
Dupes the GOT address of the PS4 in a synchronous way, and let you the address jumps of each block
Supported firmwares
Tested till 6.72 should support above as well
Requirements
Download: PS4GOTDumper-master.zip / GIT
Note: This project was committed to Github last August, but was inadvertently overlooked when initially released so check it out below.
Here's additional details from the README.md for those interested: PS4GOTDumper
Dupes the GOT address of the PS4 in a synchronous way, and let you the address jumps of each block
Supported firmwares
Tested till 6.72 should support above as well
Requirements
- GOT base address derived from webkit.elf
- Web server with php support
- Python3 - required to find the base address of the jumps of each blocks
- The got base address needs to updated in dump_got.js on line 11, this address comes from objdump of webkit.elf
- Add these files to web server and launch it
- This will create a file called "baseAddress.txt" in the same directory which will have all the address.
- This will take at least a 2 to 3 minutes to complete, you will alerted in ps4 once its completed
- Now you can run the following command "python3 baseJumps.py" (in same directory), this will find the address jumps of each blocks and print it in the screen
- If the "baseAddress.txt" file has "!decrement" text in it. then it indicates base address need to be adjusted
- for example if you have used "10054456" as base GOT address and you see "!decrement" 5 times in the file, you have add 80 toward the base
- logic is for each "!decrement" add 16 to wards the base
- So your correct GOT base would be 10054536 (10054456 +16 +16 +16 +16 +16)
- Repeat the steps 2 to 4 to get a "baseAddress.txt" with any "!decrement" value in it