Post: IDA TOC Tutorial
08-21-2014, 07:11 PM #1
SC58
Former Staff
(adsbygoogle = window.adsbygoogle || []).push({});

Hello NGU

I make this post as not many know of this but it have been around for few years but alot people just don't go about's and find out old useful things lol :p

But no worries as i'm going to show you how to do it as it kinda confusing to do by typing it so here is a video plus txt Tut on how to do this Smile

Originally posted by another user

Hello Everyone,

Today i will be showing you how to get the TOC address and how to make PS3 function show in the function tab in ida for any PS3 game so you can see what PS3 function are being used on the game that in the .ELF

After you fully load you .ELF in ida whenever it done go to " File " " Script File... " and find where you put the analyze_self.idc at and load that in ida, After a few sec or a little bit now long but it will show a message box saying TOC address - 0x12345678 and take that address after you click okay and it load again for a sec copy the address it showed in message box and go to " Options " " General " " Analysis " " Processor specific analysis options " and after you click on all this it will say enter TOC Address and after you enter it there click okay and okay again and let it load once more then after this load your done and like for some string in ida like will not have a xref has the way they codded in the .elf they did it differently then all ps3 games but it will show a xref now.

Make sure you keep all the file i give you to download in one folder as one .idc script links with another one, But your only ever useing the analyze_self.idc i told you about you had to use in the tut but still keep all them in one folder else it will not work when you load this one file!




I will not post the link's to download IDA as it is something you have to pay for, Google it if you want it

You must login or register to view this content.


(adsbygoogle = window.adsbygoogle || []).push({});

The following 30 users say thank you to SC58 for this useful post:

-JM-, Hammy, Boliberrys, Cyb3r, ElyZium, Franky, JLM, Im_YouViolateMe, ImAzazel, iRnZ, Welsh, ItsLollo1000, KareraHekku, Kryptus, milky4444, MODZ4FUN420, Norway-_-1999, pktman12345, Raz0rMind, ResistTheJamsha, Smoky420, Swaqq, SyGnUs, th3_goodGuy, TheHulksUncle, TheSaltCracka, Tipton_Modz, wdegrgefwef, xMrJR
12-28-2014, 07:15 PM #11
SC58
Former Staff
Originally posted by Sabotage View Post
or you could load your game with a debug eboot on the ps3, open debugger, add a break point to a function like Sv_GameSendServerCommand and start a game. Your ps3 will freeze and if you look at the register window r2 is your toc.
Can be done for any game, just need a function to add a break point.


Yeah but this is more mean't if you want ps3 function to show or xref as it's not all about the toc for this game like mw2 don't have xref unless you load these idc on the elf in ida to show xref plus toc and other things. :p
12-29-2014, 10:33 AM #12
Originally posted by SC58 View Post
Yeah but this is more mean't if you want ps3 function to show or xref as it's not all about the toc for this game like mw2 don't have xref unless you load these idc on the elf in ida to show xref plus toc and other things. :p


Best ida is 6.1 as it has everything that works for ps3 and all the loaders and idc :-P
08-09-2015, 01:00 PM #13
shakos
Banned
Could not find the OPD segment
08-09-2015, 05:08 PM #14
tryme
Do a barrel roll!
Originally posted by shakos View Post
Could not find the OPD segment
wrong script file you are using

I haven't noticed this tutorial before, but there a few things I am doing differently. When using script, I am always analyzing file completely, so I first click on Yes instead of No. And when you have input TOC address, you have to reanalyze file and not only click on OK
08-09-2015, 05:32 PM #15
shakos
Banned
i need the TOC for black ops 1 Zombies since their doesn't exist a sprx mod menu = i wanne make a clean stabe 1 but can'g get the TOC dumped = could not find OPD segment even if i click yes or no

if i add a breakpoint on sv_gamesendservercommand = i look at R2 = 0a544b0
08-09-2015, 11:49 PM #16
SC58
Former Staff
Originally posted by shakos View Post
i need the TOC for black ops 1 Zombies since their doesn't exist a sprx mod menu = i wanne make a clean stabe 1 but can'g get the TOC dumped = could not find OPD segment even if i click yes or no

if i add a breakpoint on sv_gamesendservercommand = i look at R2 = 0a544b0


this works on all ps3 elf, ur doing something wrong then

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo