2OF1 · the depletionmode zineLinkedIn · X
← back to the issue

29 January 2012

ARM long branch

Originally published on the old depletionmode / 2of1 blog (archived copy).

[From the ARM Architecture Reference Manual by David Seal]

A good way to branch to any location in the address space:

listing text
add lr, pc, #4
ldr pc, [pc, #-4]
dcd <function_address>

→ end of entry

2/1
@depletionmode
security research & systems engineering