rizin/test/db/formats/elf/riscv

30 lines
1.1 KiB
Text

NAME=riscv parsed elf search 'str'
FILE=bins/elf/ip-riscv
CMDS=ii~str
EXPECT=<<EOF
2 0x0000a960 GLOBAL FUNC strncpy
15 0x0000aa10 GLOBAL FUNC strspn
19 0x0000aa50 GLOBAL FUNC strdup
27 0x0000aad0 GLOBAL FUNC strcat
31 0x0000ab10 GLOBAL FUNC strtol
43 0x0000abd0 GLOBAL FUNC elf_strptr
45 0x0000abf0 GLOBAL FUNC strcspn
46 0x0000ac00 GLOBAL FUNC strchr
48 0x0000ac20 GLOBAL FUNC strrchr
65 0x0000ad30 GLOBAL FUNC strlen
67 0x0000ad50 GLOBAL FUNC strcpy
71 0x0000ad90 GLOBAL FUNC strsep
78 0x0000adf0 GLOBAL FUNC strftime
85 0x0000ae60 GLOBAL FUNC strcasecmp
87 0x0000ae80 GLOBAL FUNC strerror
89 0x0000aea0 GLOBAL FUNC strtoull
97 0x0000af20 GLOBAL FUNC strtoul
103 0x0000af80 GLOBAL FUNC mnl_attr_get_str
107 0x0000afc0 GLOBAL FUNC strncmp
113 0x0000b020 GLOBAL FUNC strtod
114 0x0000b030 GLOBAL FUNC strstr
141 0x0000b1b0 GLOBAL FUNC strtok
145 0x0000b1f0 GLOBAL FUNC strcmp
152 0x0000b250 GLOBAL FUNC strtof
EOF
RUN