Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump capstone to 1995ddf9 #3621

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion subprojects/capstone-next.wrap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[wrap-git]
url = https://github.com/capstone-engine/capstone.git
revision = 7729902a56fafd971bebba7776f594172027a8bf
revision = 1995ddf95014579476d80614ea3b2c5e8c69ced2
directory = capstone-next
patch_directory = capstone-next
637 changes: 320 additions & 317 deletions test/db/analysis/tricore

Large diffs are not rendered by default.

118 changes: 59 additions & 59 deletions test/db/analysis/vars
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ int printf(const char *format);
/ int dbg.printf(const char *fmt, va_args ..);
| ; arg const char *fmt @ a6
| ; var va_list ap @ stack + 0x4
| 0x80000c22 mov.aa %a6, %a4 ; printf.c:10 ; arg5 ; int printf(const char *fmt, va_args ..);
| 0x80000c22 mov.aa a6, a4 ; printf.c:10 ; arg5 ; int printf(const char *fmt, va_args ..);
---------
arg void *str @ a15
arg const char *buf @ a5
Expand All @@ -975,7 +975,7 @@ void dbg.prout(const char *buf);
| ; arg void *str @ a15
| ; arg size_t n @ d4
| ; arg const char *buf @ a5
| 0x80000c04 mov.aa %a15, %a4 ; printf.c:5 ; arg5 ; void *prout(void *str, const char *buf, size_t n);
| 0x80000c04 mov.aa a15, a4 ; printf.c:5 ; arg5 ; void *prout(void *str, const char *buf, size_t n);
---------
arg fp_number_type *b @ a12
arg fp_number_type *a @ a13
Expand All @@ -1000,7 +1000,7 @@ void dbg._fpadd_parts();
| ; var fractype a_fraction @ d11
| ; var fractype b_fraction @ d9
| ; var int diff @ d12
| 0x80003c60 ld.bu %d15, [%a4]0 ; fp-bit.c:604 ; arg5 ; fp_number_type *_fpadd_parts(fp_number_type *a, fp_number_type *b, fp_number_type *tmp);
| 0x80003c60 ld.bu d15, [a4]#0 ; fp-bit.c:604 ; arg5 ; fp_number_type *_fpadd_parts(fp_number_type *a, fp_number_type *b, fp_number_type *tmp);
---------
var const char *sc @ a2
arg const char *s @ a4
Expand All @@ -1012,7 +1012,7 @@ void dbg.strnlen_s(const char *s);
| ; arg size_t maxsize @ d4
| ; var const char *sc @ a2
| ; arg const char *s @ a4
| 0x800030ca mov %d2, 0 ; strnlen_s.c:6 ; size_t strnlen_s(const char *s, size_t maxsize);
| 0x800030ca mov d2, #0 ; strnlen_s.c:6 ; size_t strnlen_s(const char *s, size_t maxsize);
---------
arg mbstate_t *pst @ a12
var _Statab *pwcstate @ a13
Expand All @@ -1026,7 +1026,7 @@ void dbg._Wctomb();
| ; arg wchar_t wc @ d15
| ; arg mbstate_t *pst @ a12
| ; var _Statab *pwcstate @ a13
| 0x800018a6 movh.a %a2, 0xd000 ; xwctomb.c:123 ; int _Wctomb(char *s, wchar_t wc, mbstate_t *pst);
| 0x800018a6 movh.a a2, #0xd000 ; xwctomb.c:123 ; int _Wctomb(char *s, wchar_t wc, mbstate_t *pst);
---------
arg wchar_t *pwc @ a4
arg const char *s @ a5
Expand All @@ -1040,15 +1040,15 @@ void dbg._Mbtowc(wchar_t *pwc, const char *s, mbstate_t *pst);
| ; arg wchar_t *pwc @ a4
| ; arg const char *s @ a5
| ; arg mbstate_t *pst @ a6
| 0x80003084 movh.a %a15, 0xd000 ; xmbtowc.c:150 ; int _Mbtowc(wchar_t *pwc, const char *s, size_t nin, mbstate_t *pst);
| 0x80003084 movh.a a15, #0xd000 ; xmbtowc.c:150 ; int _Mbtowc(wchar_t *pwc, const char *s, size_t nin, mbstate_t *pst);
---------
arg int except @ d4
int feraiseexcept(int excepts);
; CALL XREF from dbg._Feraise @ 0x8000343e
;-- feraiseexcept:
/ int dbg.feraiseexcept(int except);
| ; arg int except @ d4
| 0x800037d8 mov %d2, 0 ; feraiseexcept.c:173 ; int feraiseexcept(int except);
| 0x800037d8 mov d2, #0 ; feraiseexcept.c:173 ; int feraiseexcept(int except);
---------
var Ppvoidfn newfuns @ a12
var size_t inc @ d15
Expand All @@ -1059,7 +1059,7 @@ void dbg._Atrealloc();
/ int dbg._Atrealloc();
| ; var size_t inc @ d15
| ; var Ppvoidfn newfuns @ a12
| 0x80001994 movh.a %a15, 0xd000 ; exit.c:22 ; int _Atrealloc();
| 0x80001994 movh.a a15, #0xd000 ; exit.c:22 ; int _Atrealloc();
---------
EOF
RUN
Expand All @@ -1078,50 +1078,50 @@ EXPECT=<<EOF
| ; arg int32_t arg5 @ a4
| ; arg int32_t arg6 @ a5
| ; arg int32_t arg7 @ a6
| 0x800004ce mov.aa %a14, %sp
| 0x800004d0 sub.a %sp, 0x18
| 0x800004d2 st.w [%a14]-4, %d4
| 0x800004d6 st.a [%a14]-8, %a4
| 0x800004da st.d [%a14]-0x10, %e6
| 0x800004de st.a [%a14]-0x14, %a5
| 0x800004e2 st.a [%a14]-0x18, %a6
| 0x800004e6 ld.w %d15, [%a14]-0x14
| ,=< 0x800004ea jz %d15, 0x800004f2
| | 0x800004ec ld.w %d15, [%a14]-0x18
| ,==< 0x800004f0 jnz %d15, 0x800004f6
| |`-> 0x800004f2 mov %d15, 0
| |,=< 0x800004f4 j 0x8000054c
| `--> 0x800004f6 mov %d4, 0x14
| | 0x800004fa call dbg.malloc
| | 0x800004fe mov.aa %a15, %a2
| | 0x80000500 mov.d %d15, %a15
| | 0x80000502 ld.a %a15, [%a14]-0x18
| | 0x80000506 st.w [%a15]0, %d15
| | 0x80000508 ld.a %a15, [%a14]-0x18
| | 0x8000050c ld.a %a15, [%a15]0
| | 0x8000050e ld.w %d15, [%a14]-4
| | 0x80000512 st.w [%a15]0, %d15
| | 0x80000514 ld.a %a15, [%a14]-0x18
| 0x800004ce mov.aa a14, sp
| 0x800004d0 sub.a sp, #0x18
| 0x800004d2 st.w [a14]#-4, d4
| 0x800004d6 st.a [a14]#-8, a4
| 0x800004da st.d [a14]#-0x10, e6
| 0x800004de st.a [a14]#-0x14, a5
| 0x800004e2 st.a [a14]#-0x18, a6
| 0x800004e6 ld.w d15, [a14]#-0x14
| ,=< 0x800004ea jz d15, #0x800004f2
| | 0x800004ec ld.w d15, [a14]#-0x18
| ,==< 0x800004f0 jnz d15, #0x800004f6
| |`-> 0x800004f2 mov d15, #0
| |,=< 0x800004f4 j #0x8000054c
| `--> 0x800004f6 mov d4, #0x14
| | 0x800004fa call #0x80000afc
| | 0x800004fe mov.aa a15, a2
| | 0x80000500 mov.d d15, a15
| | 0x80000502 ld.a a15, [a14]#-0x18
| | 0x80000506 st.w [a15]#0, d15
| | 0x80000508 ld.a a15, [a14]#-0x18
| | 0x8000050c ld.a a15, [a15]#0
| | 0x8000050e ld.w d15, [a14]#-4
| | 0x80000512 st.w [a15]#0, d15
| | 0x80000514 ld.a a15, [a14]#-0x18
| | 0x80000518 nop
| | 0x8000051a ld.w %d15, [%a15]0
| | 0x8000051c mov.a %a15, %d15
| | 0x8000051e add.a %a15, 4
| | 0x80000520 mov %d4, 5
| | 0x80000522 ld.a %a5, [%a14]-8
| | 0x80000526 mov.aa %a4, %a15
| | 0x80000528 call dbg.strncpy
| | 0x8000052c ld.a %a15, [%a14]-0x18
| | 0x80000530 ld.a %a15, [%a15]0
| | 0x80000532 ld.d %e4, [%a14]-0x10
| | 0x80000536 call dbg.__truncdfsf2
| | 0x8000053a mov %d15, %d2
| | 0x8000053c st.w [%a15]0xc, %d15
| | 0x8000053e ld.a %a15, [%a14]-0x18
| | 0x80000542 ld.a %a15, [%a15]0
| | 0x80000544 ld.w %d15, [%a14]-0x14
| | 0x80000548 st.w [%a15]0x10, %d15
| | 0x8000054a mov %d15, 1
| `-> 0x8000054c mov %d2, %d15
| | 0x8000051a ld.w d15, [a15]#0
| | 0x8000051c mov.a a15, d15
| | 0x8000051e add.a a15, #4
| | 0x80000520 mov d4, #5
| | 0x80000522 ld.a a5, [a14]#-8
| | 0x80000526 mov.aa a4, a15
| | 0x80000528 call #0x800011e0
| | 0x8000052c ld.a a15, [a14]#-0x18
| | 0x80000530 ld.a a15, [a15]#0
| | 0x80000532 ld.d e4, [a14]#-0x10
| | 0x80000536 call #0x80000728
| | 0x8000053a mov d15, d2
| | 0x8000053c st.w [a15]#0xc, d15
| | 0x8000053e ld.a a15, [a14]#-0x18
| | 0x80000542 ld.a a15, [a15]#0
| | 0x80000544 ld.w d15, [a14]#-0x14
| | 0x80000548 st.w [a15]#0x10, d15
| | 0x8000054a mov d15, #1
| `-> 0x8000054c mov d2, d15
\ 0x8000054e ret
EOF
RUN
Expand Down Expand Up @@ -1157,7 +1157,7 @@ int printf(const char *format);
/ int dbg.printf(const char *fmt, va_args ..);
| ; arg const char *fmt @ a6
| ; var va_list ap @ stack + 0x4
| 0x80000c22 mov.aa %a6, %a4 ; printf.c:10 ; arg5 ; int printf(const char *fmt, va_args ..);
| 0x80000c22 mov.aa a6, a4 ; printf.c:10 ; arg5 ; int printf(const char *fmt, va_args ..);

arg void *str @ a15
arg const char *buf @ a5
Expand All @@ -1168,7 +1168,7 @@ void dbg.prout(const char *buf);
| ; arg void *str @ a15
| ; arg size_t n @ d4
| ; arg const char *buf @ a5
| 0x80000c04 mov.aa %a15, %a4 ; printf.c:5 ; arg5 ; void *prout(void *str, const char *buf, size_t n);
| 0x80000c04 mov.aa a15, a4 ; printf.c:5 ; arg5 ; void *prout(void *str, const char *buf, size_t n);

arg fp_number_type *b @ a12
arg fp_number_type *a @ a13
Expand All @@ -1193,7 +1193,7 @@ void dbg._fpadd_parts();
| ; var fractype a_fraction @ d11
| ; var fractype b_fraction @ d9
| ; var int diff @ d12
| 0x80003c60 ld.bu %d15, [%a4]0 ; fp-bit.c:604 ; arg5 ; fp_number_type *_fpadd_parts(fp_number_type *a, fp_number_type *b, fp_number_type *tmp);
| 0x80003c60 ld.bu d15, [a4]#0 ; fp-bit.c:604 ; arg5 ; fp_number_type *_fpadd_parts(fp_number_type *a, fp_number_type *b, fp_number_type *tmp);

var const char *sc @ a2
arg const char *s @ a4
Expand All @@ -1205,7 +1205,7 @@ void dbg.strnlen_s(const char *s);
| ; arg size_t maxsize @ d4
| ; var const char *sc @ a2
| ; arg const char *s @ a4
| 0x800030ca mov %d2, 0 ; strnlen_s.c:6 ; size_t strnlen_s(const char *s, size_t maxsize);
| 0x800030ca mov d2, #0 ; strnlen_s.c:6 ; size_t strnlen_s(const char *s, size_t maxsize);

arg mbstate_t *pst @ a12
var _Statab *pwcstate @ a13
Expand All @@ -1219,7 +1219,7 @@ void dbg._Wctomb();
| ; arg wchar_t wc @ d15
| ; arg mbstate_t *pst @ a12
| ; var _Statab *pwcstate @ a13
| 0x800018a6 movh.a %a2, 0xd000 ; xwctomb.c:123 ; int _Wctomb(char *s, wchar_t wc, mbstate_t *pst);
| 0x800018a6 movh.a a2, #0xd000 ; xwctomb.c:123 ; int _Wctomb(char *s, wchar_t wc, mbstate_t *pst);

arg wchar_t *pwc @ a4
arg const char *s @ a5
Expand All @@ -1233,15 +1233,15 @@ void dbg._Mbtowc(wchar_t *pwc, const char *s, mbstate_t *pst);
| ; arg wchar_t *pwc @ a4
| ; arg const char *s @ a5
| ; arg mbstate_t *pst @ a6
| 0x80003084 movh.a %a15, 0xd000 ; xmbtowc.c:150 ; int _Mbtowc(wchar_t *pwc, const char *s, size_t nin, mbstate_t *pst);
| 0x80003084 movh.a a15, #0xd000 ; xmbtowc.c:150 ; int _Mbtowc(wchar_t *pwc, const char *s, size_t nin, mbstate_t *pst);

arg int except @ d4
int feraiseexcept(int excepts);
; CALL XREF from dbg._Feraise @ 0x8000343e
;-- feraiseexcept:
/ int dbg.feraiseexcept(int except);
| ; arg int except @ d4
| 0x800037d8 mov %d2, 0 ; feraiseexcept.c:173 ; int feraiseexcept(int except);
| 0x800037d8 mov d2, #0 ; feraiseexcept.c:173 ; int feraiseexcept(int except);

var Ppvoidfn newfuns @ a12
var size_t inc @ d15
Expand All @@ -1252,7 +1252,7 @@ void dbg._Atrealloc();
/ int dbg._Atrealloc();
| ; var size_t inc @ d15
| ; var Ppvoidfn newfuns @ a12
| 0x80001994 movh.a %a15, 0xd000 ; exit.c:22 ; int _Atrealloc();
| 0x80001994 movh.a a15, #0xd000 ; exit.c:22 ; int _Atrealloc();

EOF
RUN
4 changes: 4 additions & 0 deletions test/db/analysis/x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ RUN

NAME=block takeover
FILE=bins/elf/static-glibc-2.27
BROKEN=1
CMDS=<<EOF
e asm.comments=false
e asm.bytes=true
Expand Down Expand Up @@ -574,6 +575,7 @@ RUN

NAME=aaa with avra
FILE=bins/elf/class_test
BROKEN=1
CMDS=<<EOF
aaa
avra
Expand Down Expand Up @@ -2640,6 +2642,7 @@ RUN

NAME=refs with aar
FILE=bins/elf/crackme
BROKEN=1
CMDS=<<EOF
e analysis.jmp.cref=true
e asm.bytes=true
Expand All @@ -2664,6 +2667,7 @@ RUN

NAME=refs with afr
FILE=bins/elf/crackme
BROKEN=1
CMDS=<<EOF
e asm.bytes=true
e asm.lines.bb=false
Expand Down
2 changes: 1 addition & 1 deletion test/db/asm/x86_16
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dB "jmp 0xfec50" e95bec
dB "jmp 0xec50" e95bec 0x1ffff2 (jmp (cast 16 false (bv 16 0xec50)))
d "jmp 0xec50" e95bec 0xfff2 (jmp (cast 16 false (bv 16 0xec50)))
ad "leave" c9 0x0 (seq (set sp (var bp)) (set sp (+ (var sp) (bv 16 0x2))) (set bp (loadw 0 16 (+ (+ (cast 16 false (var sp)) (bv 16 0x0)) (<< (cast 16 false (var ss)) (bv 8 0x4) false)))))
ad "loop 0xff92" e290 0x0 (seq (set cx (- (var cx) (bv 16 0x1))) (branch (! (is_zero (var cx))) (jmp (bv 16 0xff94)) nop))
adB "loop 0xff92" e290 0x0 (seq (set cx (- (var cx) (bv 16 0x1))) (branch (! (is_zero (var cx))) (jmp (bv 16 0xff94)) nop))
a "mov al, [0xbeef]" a0efbe 0x0 (set ax (| (& (var ax) (~ (bv 16 0xff))) (cast 16 false (loadw 0 8 (bv 16 0xbeef)))))
a "mov ax, [0xbeef]" a1efbe 0x0 (set ax (loadw 0 16 (bv 16 0xbeef)))
d "popf" 9d 0x0 (seq (set _flags (loadw 0 16 (+ (+ (cast 16 false (var sp)) (bv 16 0x0)) (<< (cast 16 false (var ss)) (bv 8 0x4) false)))) (set cf (lsb (var _flags))) (set _flags (>> (var _flags) (bv 8 0x2) false)) (set pf (lsb (var _flags))) (set _flags (>> (var _flags) (bv 8 0x2) false)) (set af (lsb (var _flags))) (set _flags (>> (var _flags) (bv 8 0x2) false)) (set zf (lsb (var _flags))) (set _flags (>> (var _flags) (bv 8 0x1) false)) (set sf (lsb (var _flags))) (set _flags (>> (var _flags) (bv 8 0x1) false)) (set tf (lsb (var _flags))) (set _flags (>> (var _flags) (bv 8 0x1) false)) (set if (lsb (var _flags))) (set _flags (>> (var _flags) (bv 8 0x1) false)) (set df (lsb (var _flags))) (set _flags (>> (var _flags) (bv 8 0x1) false)) (set of (lsb (var _flags))) (set _flags (>> (var _flags) (bv 8 0x3) false)) (set nt (lsb (var _flags))) (set sp (+ (var sp) (bv 16 0x2))))
Expand Down
2 changes: 1 addition & 1 deletion test/db/asm/x86_32
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ d "lodsd eax, dword [si]" 67ad 0x0 (seq (set eax (loadw 0 32 (+ (+ (cast 32 fals
d "loop 3" 66e200 0x0 (seq (set ecx (- (var ecx) (bv 32 0x1))) (branch (! (is_zero (var ecx))) (jmp (bv 32 0x6)) nop))
d "loope 3" 66e100 0x0 (seq (set ecx (- (var ecx) (bv 32 0x1))) (branch (&& (! (is_zero (var ecx))) (var zf)) (jmp (bv 32 0x6)) nop))
d "loopne 3" 66e000 0x0 (seq (set ecx (- (var ecx) (bv 32 0x1))) (branch (&& (! (is_zero (var ecx))) (! (var zf))) (jmp (bv 32 0x6)) nop))
d "lsl eax, dword [eax]" 0f0300
dB "lsl eax, dword [eax]" 0f0300
d "ltr ax" 0f00d8
d "ltr word [eax]" 0f0018
d "lzcnt eax, dword [eax]" f30fbd00
Expand Down
12 changes: 6 additions & 6 deletions test/db/asm/x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -1004,12 +1004,12 @@ a "bswap r15d" 410fcf
ad "endbr64" f30f1efa
d "enter 8, 0" c8080000 0x0 (seq (set _alloc_sz (cast 16 false (bv 64 0x8))) (set _nest_lvl (mod (cast 8 false (bv 64 0x0)) (bv 8 0x20))) (set final (- (var rsp) (bv 64 0x8))) (storew 0 (var final) (cast 64 false (var rbp))) (set rsp (var final)) (set _frame_tmp (var rsp)) (branch (is_zero (var _nest_lvl)) nop (seq (branch (! (ule (var _nest_lvl) (bv 8 0x1))) (seq (set _itr (bv 8 0x1)) (repeat (&& (ule (var _itr) (var _nest_lvl)) (! (== (var _itr) (var _nest_lvl)))) (seq (set rbp (- (var rbp) (bv 64 0x8))) (set final (- (var rsp) (bv 64 0x8))) (storew 0 (var final) (cast 64 false (loadw 0 64 (var rbp)))) (set rsp (var final)) (set _itr (+ (var _itr) (bv 8 0x1)))))) nop) (set final (- (var rsp) (bv 64 0x8))) (storew 0 (var final) (cast 64 false (var _frame_tmp))) (set rsp (var final)))) (set rsp (- (var rsp) (cast 64 false (var _alloc_sz)))) (set rbp (var _frame_tmp)))
d "enter 8, 0" 66c8080000 0x0 (seq (set _alloc_sz (cast 16 false (bv 32 0x8))) (set _nest_lvl (mod (cast 8 false (bv 32 0x0)) (bv 8 0x20))) (set final (- (var rsp) (bv 64 0x8))) (storew 0 (var final) (cast 64 false (cast 32 false (var rbp)))) (set rsp (var final)) (set _frame_tmp (var rsp)) (branch (is_zero (var _nest_lvl)) nop (seq (branch (! (ule (var _nest_lvl) (bv 8 0x1))) (seq (set _itr (bv 8 0x1)) (repeat (&& (ule (var _itr) (var _nest_lvl)) (! (== (var _itr) (var _nest_lvl)))) (seq (set rbp (- (var rbp) (bv 64 0x4))) (set final (- (var rsp) (bv 64 0x8))) (storew 0 (var final) (cast 64 false (loadw 0 32 (var rbp)))) (set rsp (var final)) (set _itr (+ (var _itr) (bv 8 0x1)))))) nop) (set final (- (var rsp) (bv 64 0x8))) (storew 0 (var final) (cast 64 false (var _frame_tmp))) (set rsp (var final)))) (set rsp (- (var rsp) (cast 64 false (var _alloc_sz)))) (set rbp (cast 64 false (var _frame_tmp))))
ad "xchg eax, r8d" 4190 0x0 (seq (set _temp (cast 32 false (var rax))) (set rax (cast 64 false (cast 32 false (var r8)))) (set r8 (cast 64 false (var _temp))))
a "xchg r8d, eax" 4190 0x0 (seq (set _temp (cast 32 false (var rax))) (set rax (cast 64 false (cast 32 false (var r8)))) (set r8 (cast 64 false (var _temp))))
ad "xchg rax, rdx" 4892 0x0 (seq (set _temp (var rax)) (set rax (var rdx)) (set rdx (var _temp)))
a "xchg rdx, rax" 4892 0x0 (seq (set _temp (var rax)) (set rax (var rdx)) (set rdx (var _temp)))
ad "xchg rax, r8" 4990 0x0 (seq (set _temp (var rax)) (set rax (var r8)) (set r8 (cast 64 false (var _temp))))
a "xchg r8, rax" 4990 0x0 (seq (set _temp (var rax)) (set rax (var r8)) (set r8 (cast 64 false (var _temp))))
adB "xchg eax, r8d" 4190 0x0 (seq (set _temp (cast 32 false (var rax))) (set rax (cast 64 false (cast 32 false (var r8)))) (set r8 (cast 64 false (var _temp))))
aB "xchg r8d, eax" 4190 0x0 (seq (set _temp (cast 32 false (var rax))) (set rax (cast 64 false (cast 32 false (var r8)))) (set r8 (cast 64 false (var _temp))))
adB "xchg rax, rdx" 4892 0x0 (seq (set _temp (var rax)) (set rax (var rdx)) (set rdx (var _temp)))
aB "xchg rdx, rax" 4892 0x0 (seq (set _temp (var rax)) (set rax (var rdx)) (set rdx (var _temp)))
adB "xchg rax, r8" 4990 0x0 (seq (set _temp (var rax)) (set rax (var r8)) (set r8 (cast 64 false (var _temp))))
aB "xchg r8, rax" 4990 0x0 (seq (set _temp (var rax)) (set rax (var r8)) (set r8 (cast 64 false (var _temp))))
ad "xchg rdx, rbx" 4887da 0x0 (seq (set _temp (var rdx)) (set rdx (var rbx)) (set rbx (var _temp)))
ad "xchg rbx, rdx" 4887d3 0x0 (seq (set _temp (var rbx)) (set rbx (var rdx)) (set rdx (var _temp)))
ad "xchg r8, r15" 4d87f8 0x0 (seq (set _temp (var r8)) (set r8 (cast 64 false (var r15))) (set r15 (cast 64 false (var _temp))))
Expand Down
1 change: 1 addition & 0 deletions test/db/formats/mach0/imports
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ address min max name super
--------------------------------------------------
0x1000080f8 0x1000080f8 0x1000080f8 Stub NSObject
EOF
BROKEN=1
RUN

NAME=mach0 arm64 chained imports
Expand Down
1 change: 1 addition & 0 deletions test/db/rzil/ppc32
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ EXPECT=<<EOF
| var: r1 | | var: r1 |
`-----------' `-----------'
EOF
BROKEN=1
RUN

NAME=emulateme-big-endian
Expand Down
1 change: 1 addition & 0 deletions test/db/tools/rz
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ FILE==
CMDS=!rizin -R ""
EXPECT_ERR=<<EOF
EOF
BROKEN=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why this got broken?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember because of the extra log line

RUN

NAME=rizin project with explicit file
Expand Down