I was wondering if it would be possible to grab the register contents and possibly the stack contents of the system before VSH launches. My understanding is rebug debugger isn't able to debug VSH before it launches.
Thank you very much for any help.
|
|
|
|
Would you like to get all the new info from
PSX-Scene in your email each day?
Want to learn more about the team keeping you up to date with the latest scene news?
Read about them now! Check out our Developer bios, too! | ||
|
|
I was wondering if it would be possible to grab the register contents and possibly the stack contents of the system before VSH launches. My understanding is rebug debugger isn't able to debug VSH before it launches.
Thank you very much for any help.
I was thinking of using JaiCraB's USB firmware loader to try and get around the custom lv1/lv2.
You wouldn't happen to know if psl1ght allows inline asm?
I know nothing on the matter, but maybe you could compile an elf from the asm then sign it and package it with psl1ght? Since .elf is a well documented format, there might be tutorials on injecting asm into program segments? Just a thought.
Im not sure what you mean by compile the asm. To be able to get the register data I would need to use assembly code.
Im not sure as to if PSL1GHT allows inline asm.
Injuecting the asm is a good idea though.
Elf is a file format? If you wanted the registers pre vsh you could inject asm at the end of w/e file loads vsh or inject asm into the beginning of vsh itself. Regardless, the files are going to be elfs (well technically selfs but they get decrypted and stored in memory as elf so that's beside the point.) The entire file isn't asm code, just the program/section segments. Everything else is headers depicting how big the data is and shit, which you'd have to correct. Then you'd compress, encrypt, and sign the elf into a self. That's what I meant :P
Ok, I see what you mean. Although I can't seen to to get PSL1GHT's samples working I keep getting
<code>
heap.c: (.text.heapFree+0x164): undefined reference to `.sysSpinlockUnlock'
collect2: ld returned 1 exit status
make[2]: *** [/usr/local/ps3dev/PSL1GHT/samples/input/padtest/padtest.elf] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/ps3dev/PSL1GHT/samples/input/padtest'
make: *** [all] Error 2
</code>
As well I looking at all the code posted as well as the samples I can see that it will take more then calling Printf to print out the values or fopen for writing them. You wouldn't happen to be able to recommend me a few books or websites that I would be able to go through and build my understanding?
I also want to thank you for all the help you've given me. Im not very strong in RE/Programming in general but I am more then willing to learn.
edit2 - What I'm hoping to do is create elf that prints out text to the screen and then in assembly change the parameters to print out the registers instead.
Last edited by sbmotoracer; 05-30-2011 at 04:15 PM. Reason: to remove the smily in the code section / clarify thought
| « Previous Thread | Next Thread » |