Refactored all plugins to use get_reg_profile instead, which simply returns the register profile instead of applying it as a side-effect.
28 lines
310 B
Text
28 lines
310 B
Text
NAME=6502 af bug introduced in 36e42b3
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
e asm.arch=6502
|
|
wx c904c90460
|
|
af
|
|
afl~[2]
|
|
EOF
|
|
EXPECT=<<EOF
|
|
5
|
|
EOF
|
|
RUN
|
|
|
|
NAME=6502 regs
|
|
FILE=
|
|
CMDS=<<EOF
|
|
e asm.arch=6502
|
|
ar
|
|
EOF
|
|
EXPECT=<<EOF
|
|
a = 0x00000000
|
|
x = 0x00000000
|
|
y = 0x00000000
|
|
flags = 0x00000000
|
|
sp = 0x00000000
|
|
pc = 0x00000000
|
|
EOF
|
|
RUN
|