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,796
Trophies
3
XP
28,423
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
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    If I get to the point I have to ride a scooter in Walmart that's when I'll tell them to just kill me
    +1
  • DinohScene @ DinohScene:
    perpetuating the stereotype of america
  • K3Nv2 @ K3Nv2:
    Do you not expect me to be writing this message at McDonald's drive thru?
  • DinohScene @ DinohScene:
    I expected you to be writing that at the wallmart drive thru
  • K3Nv2 @ K3Nv2:
    We don't have that yet but it's getting close
  • DinohScene @ DinohScene:
    also, Ken my love!
  • K3Nv2 @ K3Nv2:
    They come to our home
  • DinohScene @ DinohScene:
    I'd like a Pocket 386 <З
  • DinohScene @ DinohScene:
    they're 37% off on aliexpress now
  • K3Nv2 @ K3Nv2:
    I already went broke this month by buying porn TV glasses
  • DinohScene @ DinohScene:
    send me those
  • DinohScene @ DinohScene:
    kekw
  • K3Nv2 @ K3Nv2:
    Blame Prans for talking me into them
  • DinohScene @ DinohScene:
    hm, not bad
  • DinohScene @ DinohScene:
    only experience I had is the oculus DK1 and DK2
  • K3Nv2 @ K3Nv2:
    It's more of a type c external display
  • K3Nv2 @ K3Nv2:
    It's like a modern day view finder
  • SylverReZ @ SylverReZ:
    @K3Nv2, Least its better than a bulky Apple headset.
  • SylverReZ @ SylverReZ:
    $300 ain't so bad.
  • K3Nv2 @ K3Nv2:
    I had them in the past but they aren't worth $300
    +1
  • DinohScene @ DinohScene:
    idk, an ex of mine had them
  • K3Nv2 @ K3Nv2:
    Didn't they come out 2023
  • K3Nv2 @ K3Nv2:
    2022 at $400 definitely not worth 400
    Xdqwerty @ Xdqwerty: Hi +1