mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
47 lines
538 B
Plaintext
47 lines
538 B
Plaintext
NAME=/e /test/i
|
|
FILE=malloc://1024
|
|
EXPECT=<<EOF
|
|
|
|
0x00000000 hit0_0 "test"
|
|
0x000001bc hit0_1 "Test"
|
|
EOF
|
|
CMDS=<<EOF
|
|
w test
|
|
w Test@444
|
|
?e
|
|
e search.in=block
|
|
b 777
|
|
/e /test/i
|
|
EOF
|
|
RUN
|
|
|
|
NAME=/e m (invalid) #742
|
|
FILE=malloc://1024
|
|
EXPECT=<<EOF
|
|
EOF
|
|
CMDS=<<EOF
|
|
w test
|
|
w Test@444
|
|
/e m
|
|
/e m
|
|
/e m
|
|
/e m
|
|
EOF
|
|
RUN
|
|
|
|
NAME="/e /t\wst\d\d\d\s\w\w/i"
|
|
FILE=malloc://1024
|
|
EXPECT=<<EOF
|
|
|
|
0x00000001 hit0_0 ""test123 ab""
|
|
0x000001bd hit0_1 ""Test123 ab""
|
|
EOF
|
|
CMDS=<<EOF
|
|
w "test123 ab"
|
|
w "Test123 ab" @444
|
|
?e
|
|
e search.in=block
|
|
b 777
|
|
"/e /t\wst\d\d\d\s\w\w/i"
|
|
EOF
|
|
RUN |