Changes

602 bytes added ,  06:01, 23 January 2016
Line 37: Line 37:     
This is an attempt at randomizing the layout of physmem .text, due to gspwn.
 
This is an attempt at randomizing the layout of physmem .text, due to gspwn.
 +
 +
====ARM9====
 +
There were no New3DS-only changes in Process9, the arm9loader wasn't changed either.
 +
 +
There were exactly 4 updated functions in Process9, all of these involve NTRCARD:
 +
* The first two functions had code added which clears a certain state field to 0 around the beginning of the function.
 +
* The third function now passes value 0x1000 as inr2 when calling the fourth function.
 +
* The fourth and last function, this is the function used for reading the card header. A buffer-overflow check was added in the NTRCARD reading loop: "if(out_bufpos >= inr2)<skip over copying the word to output>".
    
===NS===
 
===NS===