Forum: PS3 Technical Development - Topics relating to Playstation 3 Technical development ONLY! Read and discuss the latest Cobra USB updates, tutorials and explanations or find out about bluray drive bypass firmwares plus much more.


The above video goes away if you are a member and logged in, so log in now!




 
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!

 


User Tag List

Thread: Pre VSH launch
  

Results 1 to 7 of 7
  1. #1 Pre VSH launch 
    sbmotoracer is offline Member
    Join Date
    Nov 2010
    Posts
    32
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    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.
    Reply With Quote  

  2. #2  
    afiser is offline Member
    Join Date
    Nov 2010
    Posts
    473
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    26
    Likes Received
    30
    Quote Originally Posted by sbmotoracer View Post
    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
    Reply With Quote  

  3. #3  
    sbmotoracer is offline Member
    Join Date
    Nov 2010
    Posts
    32
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    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?
    Reply With Quote  

  4. #4  
    Slynk is offline Member
    Join Date
    Sep 2010
    Posts
    754
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    361
    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.
    Reply With Quote  

  5. #5  
    sbmotoracer is offline Member
    Join Date
    Nov 2010
    Posts
    32
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    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.
    Reply With Quote  

  6. #6  
    Slynk is offline Member
    Join Date
    Sep 2010
    Posts
    754
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    361
    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
    Reply With Quote  

  7. #7  
    sbmotoracer is offline Member
    Join Date
    Nov 2010
    Posts
    32
    Downloads
    3
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    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
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •