Skip to content

Commit

Permalink
update arm test
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarofe committed Nov 21, 2016
1 parent cf95a50 commit 4dcc19a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions t.anal/arm/arm_16
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ wx 0149 014a 014b 0000 1111 2222 3333 4444 5555 6666
pd 3
"
EXPECT=' 0x00000000 0149 ldr r1, [0x00000008] ; [0x8:4]=0x22221111 ; 8
0x00000002 014a ldr r2, [0x0000000a] ; [0xa:4]=0x33332222 ; 10
0x00000002 014a ldr r2, [0x0000000a] ; [0x8:4]=0x22221111 ; 8
0x00000004 014b ldr r3, [0x0000000c] ; [0xc:4]=0x44443333 ; 12
'
run_test
Expand All @@ -63,7 +63,7 @@ wx 0249 024a 024b 7944 7a44 7b44 1111 2222 3333 4444 5555 6666 7777
pd 6
"
EXPECT=' 0x00000000 0249 ldr r1, [0x0000000c] ; [0xc:4]=0x22221111 ; 12 ; r1=0x22221111 -> 0xffffff00
0x00000002 024a ldr r2, [0x0000000e] ; [0xe:4]=0x33332222 ; 14 ; r2=0x22221111 -> 0xffffff00
0x00000002 024a ldr r2, [0x0000000e] ; [0xc:4]=0x22221111 ; 12 ; r2=0x22221111 -> 0xffffff00
0x00000004 024b ldr r3, [0x00000010] ; [0x10:4]=0x44443333 ; 16 ; r3=0x44443333 -> 0xffffff00
0x00000006 7944 add r1, pc ; r1=0x2222111b -> 0xffffff00
0x00000008 7a44 add r2, pc ; r2=0x2222111d -> 0xffffff00
Expand Down
2 changes: 1 addition & 1 deletion t.anal/arm/arm_32
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ao~^ptr
ao@2~^ptr
"
EXPECT='ptr: 0x0000008c
ptr: 0x0000008e
ptr: 0x0000008c
'
run_test

Expand Down

0 comments on commit 4dcc19a

Please sign in to comment.