* Show group-level details of commands Details can be defined at either a group command or its subcommand of the same name. If define on group-level it will also be shown in the group help without needing ??. * Fix > $ redirection for errored command and leak * Rewrite ar and dr commands with newshell Breaking changes: ar* => arf, ar- => arf-, ar. => ar* ar, => art, ar? => arq ar0 => ara0, arb => arab, ars => araS arC => arpC arn => arR art => arT arf => arF Removed: drm, aer
60 lines
659 B
Text
60 lines
659 B
Text
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
|
|
s loc.main
|
|
aei
|
|
aeim
|
|
aeip
|
|
aets+
|
|
aeso
|
|
db @ rip
|
|
aeso
|
|
ar rip
|
|
ar rsp
|
|
4 aeso
|
|
aecb
|
|
ar rip
|
|
ar rsp
|
|
dk 9
|
|
aets-
|
|
EOF
|
|
EXPECT=<<EOF
|
|
rip = 0x0040052f
|
|
rsp = 0x00177ff0
|
|
rip = 0x00400575
|
|
rsp = 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
|
|
s loc.main
|
|
aei
|
|
aeim
|
|
aeip
|
|
aets+
|
|
ar rip
|
|
ar rsp
|
|
5 aeso
|
|
aecb
|
|
ar rip
|
|
ar rsp
|
|
dk 9
|
|
aets-
|
|
EOF
|
|
EXPECT=<<EOF
|
|
rip = 0x00400574
|
|
rsp = 0x00178000
|
|
rip = 0x00400574
|
|
rsp = 0x00178000
|
|
EOF
|
|
RUN
|