* 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>
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
NAME=pdJ+html
|
|
FILE=bins/mach0/ls-osx-x86_64
|
|
CMDS=<<EOF
|
|
e asm.bytes=true
|
|
pdJ 1~{}
|
|
e scr.html=1
|
|
pdJ 1~{}
|
|
EOF
|
|
EXPECT=<<EOF
|
|
[
|
|
{
|
|
"offset": 4294972376,
|
|
"text": " ;-- main:"
|
|
},
|
|
{
|
|
"offset": 4294972376,
|
|
"text": " ;-- entry0:"
|
|
},
|
|
{
|
|
"offset": 4294972376,
|
|
"text": " ;-- func.1000013d8:"
|
|
},
|
|
{
|
|
"offset": 4294972376,
|
|
"text": " 0x1000013d8 55 push rbp"
|
|
}
|
|
]
|
|
[
|
|
{
|
|
"offset": 4294972376,
|
|
"text": " ;-- main:"
|
|
},
|
|
{
|
|
"offset": 4294972376,
|
|
"text": " ;-- entry0:"
|
|
},
|
|
{
|
|
"offset": 4294972376,
|
|
"text": " ;-- func.1000013d8:"
|
|
},
|
|
{
|
|
"offset": 4294972376,
|
|
"text": " 0x1000013d8 55 push rbp"
|
|
}
|
|
]
|
|
EOF
|
|
RUN
|
|
|