rizin/test/db/archos/linux-x64/cmd_list

42 lines
1.1 KiB
Text

# This is in here because debug plugins differ depending on the platform
NAME=Print the debug plugins
FILE==
CMDS=Ld
EXPECT=<<EOF
0 --- bochs LGPL3
1 --- dmp LGPL3
2 --- gdb LGPL3
3 --- io MIT
4 dbg native LGPL3
5 --- null MIT
6 --- qnx LGPL3
7 --- winkd LGPL3
EOF
RUN
NAME=Print the debug plugins in JSON
FILE==
CMDS=<<EOF
Ldj~{[0]}
Ldj~{[1]}
Ldj~{[2]}
Ldj~{[3]}
Ldj~{[4]}
Ldj~{[5]}
Ldj~{[6]}
Ldj~{[7].name}
Ldj~{[7].license}
EOF
EXPECT=<<EOF
{"arch":"x86","name":"bochs","bits":"16 32 64","license":"LGPL3","version":""}
{"arch":"x86,arm","name":"dmp","bits":"32 64","license":"LGPL3","version":""}
{"arch":"x86,arm,sh,mips,avr,lm32,v850,ba2,tricore","name":"gdb","bits":"16 32 64","license":"LGPL3","version":""}
{"arch":"any","name":"io","bits":"32 64","license":"MIT","version":""}
{"arch":"x86","name":"native","bits":"32 64","license":"LGPL3","version":"","selected":true}
{"arch":"any","name":"null","bits":"32 64","license":"MIT","version":""}
{"arch":"x86,arm","name":"qnx","bits":"32 ","license":"LGPL3","version":""}
winkd
LGPL3
EOF
RUN