* Disable `asm.bytes` by default * Fix tests by adding `e asm.bytes=true` (1/n) * Fix tests by adding (2/n) * Fix tests by adding `e asm.bytes=true` (3/n) * Fix tests by adding `asm.bytes=true` (4/n) * Fix test by adding `asm.bytes=true` (5/n) * Fix mostly all broken tests * Attemp to fix the rzpipe test * Attempt to fix the tests in `db/cmd/cmd_pipe` * Fix tests again * Fix cmd_pipe test * Add a test where `asm.bytes` is false Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
32 lines
772 B
Text
32 lines
772 B
Text
NAME=t/simple-elf
|
|
FILE=bins/elf/analysis/x86-simple
|
|
CMDS=p8 10 @ 0x8048065
|
|
EXPECT=<<EOF
|
|
5bb801000000bb2a0000
|
|
EOF
|
|
RUN
|
|
|
|
NAME=display mapped flag in sections list
|
|
FILE=bins/elf/analysis/x86-simple
|
|
CMDS=om
|
|
EXPECT=<<EOF
|
|
1 fd: 3 +0x00000000 0x08048000 - 0x08048071 r-x fmap.LOAD0
|
|
EOF
|
|
RUN
|
|
|
|
NAME=test where asm.bytes is false
|
|
FILE=bins/elf/analysis/x86-simple
|
|
CMDS=<<EOF
|
|
e asm.bytes=false
|
|
pd 5
|
|
EOF
|
|
EXPECT=<<EOF
|
|
;-- entry0:
|
|
;-- section..text:
|
|
0x08048060 call 0x8048065 ; [01] -r-x section size 18 named .text
|
|
0x08048065 pop ebx
|
|
0x08048066 mov eax, 1
|
|
0x0804806b mov ebx, 0x2a ; '*' ; 42
|
|
0x08048070 int 0x80
|
|
EOF
|
|
RUN
|