Hacking Question NSO entry point

  • Thread starter Thread starter Green;Dog
  • Start date Start date
  • Views Views 1,358
  • Replies Replies 2

Am I just an idiot?


  • Total voters
    5

Green;Dog

New Member
Newbie
Joined
Sep 18, 2016
Messages
4
Reaction score
1
Trophies
0
XP
125
Country
United States
I don't even know if this is the right place to ask this, but I've searched online, and I can't seem to find where code execution actually begins when an NSO is loaded. As far as I can tell the header doesn't contain an entry point, and elf2nso never touches the elf entry point, so how does the switch know where to start executing?

It would be very much appreciated if someone could provide an explanation of exactly what happens when the switch loads an NSO into memory.
 
Yes, I understand the actual loading location is randomized, but what I don't understand is this:

random_image_base + (insert wizardry) = start_of_code

what is that wizardry? how does the switch make the jump from OS code to game code?
 

Site & Scene News

Popular threads in this forum