mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
781fcccf55
* Move CMDS= before EXPECT= in tests * Revert "Move CMDS= before EXPECT= in tests" This reverts commit13a9085a36
. * Move CMDS= before EXPECT= in tests, take 2 * Revert "Move CMDS= before EXPECT= in tests, take 2" This reverts commit7c0bf6d8e3
. * Move CMDS= before EXPECT= in tests, take 3 Co-authored-by: pancake <pancake@nopcode.org>
46 lines
820 B
Plaintext
46 lines
820 B
Plaintext
NAME=bug 3788 #1: search in virtual address
|
|
FILE=../bins/vsf/c64-rambo2-norom.vsf
|
|
CMDS=<<EOF
|
|
s 0
|
|
/x ac6c6c68
|
|
EOF
|
|
EXPECT=<<EOF
|
|
0x0000008a hit0_0 ac6c6c68
|
|
EOF
|
|
RUN
|
|
|
|
NAME=bug 3788 #2: search with multiple sections
|
|
FILE=../bins/vsf/c64-rambo2-rom.vsf
|
|
CMDS=<<EOF
|
|
s 0
|
|
e search.in=bin.sections
|
|
/x ac686b6d
|
|
EOF
|
|
EXPECT=<<EOF
|
|
0x0000008a hit0_0 ac686b6d
|
|
EOF
|
|
RUN
|
|
|
|
NAME=bug 3788 #3: cmd.hit
|
|
FILE=../bins/vsf/c64-rambo2-norom.vsf
|
|
CMDS=<<EOF
|
|
s 0
|
|
e cmd.hit = px 16
|
|
/x ac6c6c68
|
|
EOF
|
|
EXPECT=<<EOF
|
|
0x0000008a hit0_0 ac6c6c68
|
|
- offset - 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF
|
|
0x0000008a ac6c 6c68 6700 1200 0000 0000 0000 4b0f .llhg.........K.
|
|
EOF
|
|
RUN
|
|
|
|
NAME=bug 3788 #4: no collision in VA
|
|
FILE=../bins/nes/Pong.nes
|
|
CMDS=/x 8512a9208520
|
|
EXPECT=<<EOF
|
|
0x0000c020 hit0_0 8512a9208520
|
|
0x00008020 hit0_1 8512a9208520
|
|
EOF
|
|
RUN
|