rizin/test/db/cmd/cmd_wfs
seanachao a2f8631b6c
Change -, --, = argument and = command meaning (#930)
* Swap = & - R (#615)&(#616)
* Fix R replace =
2021-04-21 16:20:24 +08:00

17 lines
445 B
Text

NAME=wfx
FILE==
CMDS=<<EOF
w hello
w world @ 0x20
wfx 0x20 10
x 0x40
EOF
EXPECT=<<EOF
- offset - 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF
0x00000000 776f 726c 6400 0000 0000 0000 0000 0000 world...........
0x00000010 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00000020 6865 6c6c 6f00 0000 0000 0000 0000 0000 hello...........
0x00000030 0000 0000 0000 0000 0000 0000 0000 0000 ................
EOF
RUN