Homebrew Kinda stupid question about assembly.

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
So, if I have an elf file(processor code, correct?), couldn't I
1. Load that file into memory
2. Use arm's jump(whatever it's called) to jump to that file in memory?

I know, this probably makes me sound like an idiot, but I've never been good with asm.

Just an idea!
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
Yes and no.

Traditionally a lot of hacks have used this concept in one form or another. The classical game save triggered buffer overflow being just one example.

The problems you tend to face are the file not being compiled/assembled for the memory location you want to stick it in, this is easily solved though.
The bigger one here is that the 3ds has been seen to use so called executable memory paging, or a no execute bit, to stop the device from running code originally sourced in areas of memory not designated as for executable code. Not an insurmountable obstacle by any means but one that does rather frustrate

Have a watch of the following video (Blackhat 2010 - Return-Oriented Exploitation in case that video no longer exists when someone comes to watch it)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    realtimesave @ realtimesave: I have it in my hands