NAME=ESIL continue back until breakpoint
FILE=bins/elf/analysis/calls_x64
CMDS=<<EOF
e asm.emu=true
e asm.bits=64
e asm.arch=x86
e emu.write=true
e io.cache=true
s loc.main
aei
aeim
aeip
aets+
aeso
db rip
aeso
dr rip,rsp
4 aeso
aecb
dr rip,rsp
dk 9
aets-
EOF
EXPECT=<<EOF
0x0040052f
0x00177ff0
0x00400575
0x00177ff8
EOF
RUN

NAME=ESIL continue back no breakpoint
FILE=bins/elf/analysis/calls_x64
CMDS=<<EOF
e asm.emu=true
e asm.bits=64
e asm.arch=x86
e emu.write=true
e io.cache=true
s loc.main
aei
aeim
aeip
aets+
dr rip,rsp
5 aeso
aecb
dr rip,rsp
dk 9
aets-
EOF
EXPECT=<<EOF
0x00400574
0x00178000
0x00400574
0x00178000
EOF
RUN
