Fix more tests to run outside x86-64 ##anal

* Hint oneliner to improve aanr
This commit is contained in:
pancake 2022-09-08 23:00:32 +02:00 committed by pancake
parent 9129b7d6fb
commit a6004d8a35
5 changed files with 13 additions and 2 deletions

View File

@ -6086,6 +6086,8 @@ static bool analyze_noreturn_function(RCore *core, RAnalFunction *f) {
}
R_API void r_core_anal_propagate_noreturn(RCore *core, ut64 addr) {
// r_core_cmd0 (core, ".aflx*@@=`afl,noret/eq/1,addr/cols/,:quiet`");
RList *todo = r_list_newf (free);
if (!todo) {
return;

View File

@ -1,5 +1,6 @@
NAME=color-args
FILE=malloc://1024
ARGS=-a x86 -b 64
CMDS=<<EOF
ec mov magenta
ec nop yellow

View File

@ -55,6 +55,7 @@ EOF
RUN
NAME=pdua
ARGS=-a x86 -b 64
CMDS=<<EOF
wx 5e4889e24883e4f05054
pdua 10
@ -76,6 +77,7 @@ EOF
RUN
NAME=pduc
ARGS=-a x86 -b 64
CMDS=<<EOF
wx 5e4889e24883e4f0e841424344
pduc
@ -89,7 +91,9 @@ EOF
RUN
NAME=pdui
ARGS=-a x86 -b 64
CMDS=<<EOF
e asm.arch=x86
wx 5e4889e24883e4f05054
pdui push rsp
EOF
@ -103,6 +107,7 @@ EOF
RUN
NAME=pduo
ARGS=-a x86 -b 64
CMDS=<<EOF
wx 5e4889e24883e4f05054
pduo push
@ -116,6 +121,7 @@ EOF
RUN
NAME=pdus
ARGS=-a x86 -b 64
CMDS=<<EOF
wx 5e4889e24883e4f00f05
pdus

View File

@ -42,8 +42,8 @@ cat $a~?
,~?
EOF
EXPECT=<<EOF
34
37
33
36
EOF
RUN

View File

@ -2364,6 +2364,7 @@ EOF
RUN
NAME=bsf reg32, reg32
REQUIRE=gas linux x86
CMDS=<<EOF
#
# Common parts
@ -2426,6 +2427,7 @@ EOF
RUN
NAME=bsr reg32, reg32
REQUIRE=gas linux x86
CMDS=<<EOF
#
# Common parts