rizin/test/db/analysis/m680x
Anton Kochkov 2f638cad1e Convert f commands to rzshell
* Changed behavior of `f` to only add flag if there is none
* Changed behavior of `f+` to add flag in any case
* Moved listing subcommands from `f` to `fl`
* Moved listing subcommands from `f.` to `f.l`
* Added subcommand `f.l*` to list all local flags in all functions
* Listing flags at the current offset became `fl.`
* Moved `f=` to `fl=`
* Old `fl` (flag length) now became `fL`
* Removed original `fe` commands
* Old `f?` (check if flag exists) now became `fe`
* Removed `fV` commands
* Removed `fn` commands in favor of `fl` and `asm.flags.real=true`
* Removed `fS` commands (`fSo` and `fSn`)
* `fo` became `fortune` and moved from "flags" to "shell" category
* Removed oldshell handlers of the `z` commands
2022-02-03 21:46:42 +08:00

30 lines
480 B
Text

NAME=6502 af bug introduced in 36e42b3
FILE=malloc://1024
CMDS=<<EOF
wx 4fc600d73dc664d73cc613d7395fd722d724c604d73fc601d72bc62cd72d4fce00442003a700088c012b26f8bf0040ce01ff35bd803a
e asm.arch=m680x
af
afb*
EOF
EXPECT=<<EOF
fs blocks
f bb.00000 @ 0x00000000
f bb.00024 @ 0x00000024
f bb.00027 @ 0x00000027
f bb.0002c @ 0x0000002c
EOF
RUN
NAME=m680x regs
FILE=
CMDS=<<EOF
e asm.arch=m680x
ar
EOF
EXPECT=<<EOF
pc = 0x00000000
sp = 0x00000000
a0 = 0x00000000
a1 = 0x00000000
EOF
RUN