Skip to content

Instantly share code, notes, and snippets.

View todd-manning's full-sized avatar

Todd Manning todd-manning

View GitHub Profile
The following example is using the code snippet from page 22 of the paper. The addresses there are reflecting the non-rebased address. The addresses shown below reflect the proper rebased addresses.
The code:
0001CDE4 LDR R2, [R0]
-----------------------------------------------------------------------------------
setbp 0001CDE6 ; set breakpoint on instruction after the read
h ; halt
r ; reset

Keybase proof

I hereby claim:

  • I am todd-manning on github.
  • I am tmanning (https://keybase.io/tmanning) on keybase.
  • I have a public key whose fingerprint is 718A 8CFF 771B 2D2D 45A7 2E71 26CC 11B9 54EE 53DB

To claim this, I am signing this object:

#!/bin/ash
port=$1
pid_for_stack_port()
{
stack=$1
port=$2
hex_port=$(printf "%04X" $port)
echo $stack port $port