rizin/test/db/analysis/z80
Florian Märkl 79a17ef482
Remove RzAnalysisPlugin.set_reg_profile (#2091)
Refactored all plugins to use get_reg_profile instead, which simply
returns the register profile instead of applying it as a side-effect.
2021-12-11 10:18:31 +01:00

32 lines
497 B
Text

NAME=z80: Basic search for functions
FILE=malloc://1024
CMDS=<<EOF
e asm.arch=z80
wx 01210000010000CFC30D0002033CCD1500C904050600C8ED400030FDC90708
af @ 1
afl
EOF
EXPECT=<<EOF
0x00000001 2 17 -> 15 fcn.00000001
0x00000016 3 7 fcn.00000016
EOF
RUN
NAME=z80 regs
FILE=
CMDS=<<EOF
e asm.arch=z80
ar
EOF
EXPECT=<<EOF
mpc = 0x00000000
sp = 0x00000000
af = 0x00000000
bc = 0x00000000
de = 0x00000000
hl = 0x00000000
mbcrom = 0x00000000
mbcram = 0x00000000
ime = 0x00000000
EOF
RUN