forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

prxtool not showing data refs?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
serige



Joined: 26 Nov 2007
Posts: 35

PostPosted: Mon Mar 31, 2008 6:08 pm    Post subject: prxtool not showing data refs? Reply with quote

hey guys:

I have a question about using prxtool debugging a program.

I remember last time I used prxtool to disassemble a boot.bin, it will alert you whenever it detects a valuable pointing to a memory location, something like this:
===========================================
...
...
...
loc_0002B2C8: ; Refs: 0x0002AF6C
0x0002B2C8: 0x3C0A001A '...<' - lui $t2, 0x1A

loc_0002B2CC: ; Refs: 0x0002AF74
; Data ref 0x00198EF0 "../btl/bgcgugetmem.h"
0x0002B2CC: 0x24A48EF0 '...$' - addiu $a0, $a1, -28944
...
...
...
============================================
so it will warn you when $a0 references to the address 0x00198EF0

However, this time when I disassembled yet another boot.bin, it just failed to show any address hints like before, although I am pretty sure there are many address references in the output assembly file. BTW, I am using the same command for both boot.bin's.

I need this feature so bad ;(

Does anyone know how can I turn on these hints? my prxtool is version 1.1.

Many thanks!


Last edited by serige on Tue Apr 01, 2008 7:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
serige



Joined: 26 Nov 2007
Posts: 35

PostPosted: Mon Mar 31, 2008 6:23 pm    Post subject: Reply with quote

here is a code fragment i have this time:

; Subroutine sub_0884F7B0 - Address 0x0884F7B0
sub_0884F7B0: ; Refs: 0x0884D7E4 0x0884D8C0
0x0884F7B0: 0x3C020899 '...<' - lui $v0, 0x899
0x0884F7B4: 0x03E00008 '....' - jr $ra
0x0884F7B8: 0x2442728C '.rB$' - addiu $v0, $v0, 29324
0x0884F7BC: 0x27BDFFF0 '...'' - addiu $sp, $sp, -16
0x0884F7C0: 0xAFBF000C '....' - sw $ra, 12($sp)
0x0884F7C4: 0xAFB00008 '....' - sw $s0, 8($sp)


$v0 above should point to 0x0899728c, but it somehow fails to show it :(
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group