The above video goes away if you are a member and logged in, so log in now!
Pre VSH launch –
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.
with a custom lv1 or lv2 (possibly both but im uncertain) you can make them dump the ram before the vsh is loaded. yes. how to do that? i hear its extremely complicated
Originally Posted by sbmotoracer
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
heap.c: (.text.heapFree+0x164): undefined reference to `.sysSpinlockUnlock'
collect2: ld returned 1 exit status
make: *** [/usr/local/ps3dev/PSL1GHT/samples/input/padtest/padtest.elf] Error 1
make: *** [build] Error 2
make: Leaving directory `/usr/local/ps3dev/PSL1GHT/samples/input/padtest'
make: *** [all] Error 2
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