radare2/test/new/db/cmd/dwarf
2020-01-17 17:47:00 +01:00

16 lines
460 B
Plaintext

NAME="pdf dwarf invalid main for analysis not found (aa)"
FILE=../bins/src/dwarftest
CMDS=<<EOF
e asm.dwarf=true
e anal.nopskip=true # if set to true it fucks the test
aa
pd 1 @main
EOF
EXPECT=<<EOF
; DATA XREF from entry0 @ 0x40045d
/ 44: int main (int argc, char **argv, char **envp);
| ; var int64_t var_4h @ rbp-0x4
| 0x0040052d 55 push rbp ; /tmp/r2-regressions/.//dwarftest.c:4
EOF
RUN