Skip to content

Commit

Permalink
Add asm.emu + meta test (#612)
Browse files Browse the repository at this point in the history
- ensure a register value is correct even if computed
in a line in which asm.emu is silent because of the presence
of metadata
  • Loading branch information
mrmacete authored and radare committed Nov 22, 2016
1 parent 9abd779 commit 2f2ddd4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Binary file added bins/elf/analysis/crackmips
Binary file not shown.
19 changes: 19 additions & 0 deletions t.esil/mips
Original file line number Diff line number Diff line change
Expand Up @@ -1561,3 +1561,22 @@ ar v0
EXPECT='0x000035df
'
run_test

NAME="asm.emu with meta"
FILE=../bins/elf/analysis/crackmips
BROKEN=1
CMDS='
s 0x00400820
af
e asm.emu=true
e asm.emuwrite=true
e asm.lines=false
e asm.fcnlines=false
aei
aeim
pdf~0x00400828[7]
'
EXPECT='0x415424
'
run_test

0 comments on commit 2f2ddd4

Please sign in to comment.