rizin/test/db/cmd/cmd_pipe
Itay Cohen 4ac005d489
Set asm.tabs to 6 and enable asm.tabs.once by default ##config (#290)
* Set asm.tabs to 6
* Enabl asm.tabs.once by default
2021-01-04 17:45:35 +02:00

35 lines
849 B
Text

NAME=pipe args
FILE=-
CMDS=#!pipe echo hello world
EXPECT=<<EOF
hello world
EOF
RUN
NAME=rzpipe.py
FILE=bins/elf/_Exit (42)
CMDS=<<EOF
?q `env~?^ASAN=1$`
?+ env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.5
#!pipe python3 scripts/get-funcs.py
EOF
EXPECT=<<EOF
Function names:
entry0
sym.imp._Exit
Disassembly of entry0:
;-- section..text:
;-- .text:
;-- _start():
/ 16: entry0 ();
| 0x08049020 push ebp ; [10] -r-x section size 16 named .text
| 0x08049021 mov ebp, esp
| 0x08049023 sub esp, 8
| 0x08049026 sub esp, 0xc
| 0x08049029 push 0x2a ; '*' ; 42
\ 0x0804902b call sym.imp._Exit ; void _Exit(int status)
EOF
RUN