rizin/test/db/cmd/cmd_ad
Giovanni 27dc5c8650
Remove old string detection methods. (#3584)
* Remove old string detection methods.
* Allow changing encoding based on `bin.str.enc`
* Cleanup for optimization regarding RzAnalysisData and its kind
* Allow changing endianness.
2023-06-18 18:12:59 +08:00

23 lines
573 B
Text

NAME=ad 4
FILE=bins/arm/elf/hello_world
CMDS=<<EOF
aaa
s 0x434
ad 4
pd 4
EOF
EXPECT=<<EOF
0x00000434 cc0b number 3020 0xbcc
0x0000043a 0000 (null)
; STRING XREFS from entry0 @ 0x40c, 0x410
;-- data.00000434:
0x00000434 lsrs r4, r1, 0xf
0x00000436 movs r1, r0
; DATA XREF from entry0 @ 0x414
;-- data.00000438:
0x00000438 .dword 0x00000020
; DATA XREF from entry0 @ 0x420
;-- data.0000043c:
0x0000043c .dword 0x00000030
EOF
RUN