Skip to content

Commit

Permalink
Fix mov's immediates' sign in test expectation
Browse files Browse the repository at this point in the history
Automatic signedness in Zydis infers from the instruction.
In this case, the immediate should be signed.

References: zyantific/zydis#538
  • Loading branch information
McSinyx committed Nov 18, 2024
1 parent b4e7175 commit b2a49ba
Show file tree
Hide file tree
Showing 42 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion test/regtest/after.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000108:000000000c007ff8:0000000000004600: 41 57 push %r15
000000000a00010a:000000000c007ff8:0000000000004600: 78 fc js 0xa000106
000000000a000111:000000000c007ff8:0000000000004600: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a00011b:000000000c007ff8:0000000000004600: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a00011b:000000000c007ff8:0000000000004600: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00011e:000000000c007ff8:0000000000004600: 48 39 c3 cmp %rax, %rbx
000000000a000124:000000000c007ff8:0000000000004600: 66 90 nop
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/after_print.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
nop
nopl %eax, (%rax)
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/bb_info.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000106:0000000000000002:0000000000000004: 41 57 push %r15
000000000a000106:0000000000000002:0000000000000004: 78 fc js 0xa000106
000000000a00010a:0000000000000004:0000000000000016: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a00010a:0000000000000004:0000000000000016: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a00010a:0000000000000004:0000000000000016: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00010a:0000000000000004:0000000000000016: 48 39 c3 cmp %rax, %rbx
000000000a00010a:0000000000000004:0000000000000016: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/bit_or.exp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rex=0x41, asm="push %r15"
rex=0x48, asm="movq 0x5e(%rip), %rax"
rex=0x48, asm="mov $0x8877665544332211, %rbx"
rex=0x48, asm="mov $-0x778899aabbccddef, %rbx"
rex=0x48, asm="cmp %rax, %rbx"
rex=0x4C, asm="movq 0x28(%rip), %r8"
rex=0x48, asm="movq 0x19a(%rip), %rcx"
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/callx2.exp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
movq 0x5e(%rip), %rax
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
nopl %eax, (%rax)
movq 0x28(%rip), %r8
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/cond_0.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
jz 0xa000122
nop
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/cond_1.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
jz 0xa000122
ud2
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/condjump_0.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
jz 0xa000122
nop
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/dst_zero.exp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
movq 0x5e(%rip), %rax # DST 8877665544332211 --> 0x0
mov $0x8877665544332211, %rbx # DST 8877665544332211 --> 0x0
mov $-0x778899aabbccddef, %rbx # DST 8877665544332211 --> 0x0
Illegal instruction
2 changes: 1 addition & 1 deletion test/regtest/example_13.exp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
000000000a000106:00000000e9e9e9e9:0000000000000000: 41 57 push %r15
000000000a00010a:8877665544332211:000000000b0b0b0b: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:8877665544332211:000000003e3e3e3e: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:8877665544332211:000000003e3e3e3e: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a000122:0000000000000000:0000000000000000: 66 90 nop
000000000a000128:0000000044332211:0000000000000000: 0f 1f 00 nopl %eax, (%rax)
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/example_4.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000106:000000000a000106:0000000000000002: 41 57 push %r15
000000000a000108:000000000a000108:0000000000000002: 78 fc js 0xa000106
000000000a00010a:000000000a00010a:0000000000000007: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:000000000a000111:000000000000000a: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:000000000a000111:000000000000000a: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00011b:000000000a00011b:0000000000000003: 48 39 c3 cmp %rax, %rbx
000000000a00011e:000000000a00011e:0000000000000002: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/example_5.exp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
0000000094949494:00000000c7c7c7c7:00000000b6b6b6b6: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
0000000094949494:00000000c7c7c7c7:00000000b6b6b6b6: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
0000000094949494:00000000c7c7c7c7:00000000b6b6b6b6: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
0000000094949494:00000000c7c7c7c7:00000000b6b6b6b6: 48 39 c3 cmp %rax, %rbx
0000000094949494:00000000c7c7c7c7:00000000b6b6b6b6: 0f 1f 00 nopl %eax, (%rax)
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/example_7.exp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
000000000a000111:8877665544332211:8877665544332211: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:8877665544332211:8877665544332211: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
PASSED
2 changes: 1 addition & 1 deletion test/regtest/f_info.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
0000000000000000:0000000000000000:0000000000000000: 41 57 push %r15
0000000000000000:0000000000000000:0000000000000000: 78 fc js 0xa000106
0000000000000000:0000000000000000:0000000000000000: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
0000000000000000:0000000000000000:0000000000000000: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
0000000000000000:0000000000000000:0000000000000000: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
0000000000000000:0000000000000000:0000000000000000: 48 39 c3 cmp %rax, %rbx
0000000000000000:0000000000000000:0000000000000000: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/multi.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae:
push %r15:
js 0xa000106:
movq 0x5e(%rip), %rax: rax
mov $0x8877665544332211, %rbx: rbx
mov $-0x778899aabbccddef, %rbx: rbx
cmp %rax, %rbx: rax rbx
jz 0xa000122:
nop:
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/naked.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
jz 0xa000122
nop
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/naked_2.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
jz 0xa000122
nop
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/next.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
0xa000106: push %r15 # goto 0xa000108
0xa000108: js 0xa000106 # goto 0xa00010a
0xa00010a: movq 0x5e(%rip), %rax # goto 0xa000111
0xa000111: mov $0x8877665544332211, %rbx # goto 0xa00011b
0xa000111: mov $-0x778899aabbccddef, %rbx # goto 0xa00011b
0xa00011b: cmp %rax, %rbx # goto 0xa00011e
0xa00011e: jz 0xa000122 # goto 0xa000122
0xa000122: nop # goto 0xa000124
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/not_regex.exp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
push %r15
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
nop
cmp $0x33, %ebx
movq 0x28(%rip), %r8
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/optimize_0.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000106:000000000000006f:ffffffffc7c7c7c7: 41 57 push %r15
000000000a000108:000000000000006e:ffffffffc7c7c7c7: 78 fc js 0xa000106
000000000a00010a:000000000000006d:ffffffffc7c7c7c7: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00011b:000000000000006b:ffffffffc7c7c7c7: 48 39 c3 cmp %rax, %rbx
000000000a00011e:000000000000006a:ffffffffc7c7c7c7: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/optimize_1.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000106:000000000000006f:ffffffffc7c7c7c7: 41 57 push %r15
000000000a000108:000000000000006e:ffffffffc7c7c7c7: 78 fc js 0xa000106
000000000a00010a:000000000000006d:ffffffffc7c7c7c7: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00011b:000000000000006b:ffffffffc7c7c7c7: 48 39 c3 cmp %rax, %rbx
000000000a00011e:000000000000006a:ffffffffc7c7c7c7: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/optimize_2.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000106:000000000000006f:ffffffffc7c7c7c7: 41 57 push %r15
000000000a000108:000000000000006e:ffffffffc7c7c7c7: 78 fc js 0xa000106
000000000a00010a:000000000000006d:ffffffffc7c7c7c7: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00011b:000000000000006b:ffffffffc7c7c7c7: 48 39 c3 cmp %rax, %rbx
000000000a00011e:000000000000006a:ffffffffc7c7c7c7: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/optimize_3.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000106:000000000000006f:ffffffffc7c7c7c7: 41 57 push %r15
000000000a000108:000000000000006e:ffffffffc7c7c7c7: 78 fc js 0xa000106
000000000a00010a:000000000000006d:ffffffffc7c7c7c7: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00011b:000000000000006b:ffffffffc7c7c7c7: 48 39 c3 cmp %rax, %rbx
000000000a00011e:000000000000006a:ffffffffc7c7c7c7: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/optimize_s.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000106:000000000000006f:ffffffffc7c7c7c7: 41 57 push %r15
000000000a000108:000000000000006e:ffffffffc7c7c7c7: 78 fc js 0xa000106
000000000a00010a:000000000000006d:ffffffffc7c7c7c7: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:000000000000006c:ffffffffc7c7c7c7: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00011b:000000000000006b:ffffffffc7c7c7c7: 48 39 c3 cmp %rax, %rbx
000000000a00011e:000000000000006a:ffffffffc7c7c7c7: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/print.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
jz 0xa000122
nop
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/print_pie.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
jz 0xa000122
nop
Expand Down
4 changes: 2 additions & 2 deletions test/regtest/printx2.exp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ js 0xa000106
js 0xa000106
movq 0x5e(%rip), %rax
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
cmp %rax, %rbx
jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/reads_leq_writes.exp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
nop
cmp $0x33, %ebx
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/regs_2.exp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
000000000b0b0b0b:000000003e3e3e3e:000000002d2d2d2d: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
8877665544332211:000000003e3e3e3e:000000002d2d2d2d: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
8877665544332211:000000003e3e3e3e:000000002d2d2d2d: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
8877665544332211:8877665544332211:000000002d2d2d2d: 48 39 c3 cmp %rax, %rbx
8877665544332211:8877665544332211:000000002d2d2d2d: 48 8b 0d 9a 01 00 00 movq 0x19a(%rip), %rcx
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/replace_print.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
jz 0xa000122
ud2
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/rex.exp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
movq 0x19a(%rip), %rcx
mov $-0x7777, %rcx
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/rip_rsp_rflags.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000106:000000000c008000:0000000000004600: 41 57 push %r15
000000000a000108:000000000c007ff8:0000000000004600: 78 fc js 0xa000106
000000000a00010a:000000000c007ff8:0000000000004600: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:000000000c007ff8:0000000000004600: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:000000000c007ff8:0000000000004600: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00011b:000000000c007ff8:0000000000004600: 48 39 c3 cmp %rax, %rbx
000000000a00011e:000000000c007ff8:0000000000004600: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/rip_to_rsp.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae
push %r15
js 0xa000106
movq 0x5e(%rip), %rax
mov $0x8877665544332211, %rbx
mov $-0x778899aabbccddef, %rbx
cmp %rax, %rbx
jz 0xa000122
nop
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/rotate.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae [000000000B0B0B0B:000000002D2D2D2D:000000001C1C1C1C:000000003E3E3E
push %r15 [000000002D2D2D2D:000000001C1C1C1C:000000003E3E3E3E:000000004F4F4F4F:0000000050505050:0000000061616161:0000000072727272:0000000083838383:0000000094949494:00000000A5A5A5A5:00000000B6B6B6B6:00000000C7C7C7C7:00000000D8D8D8D8:00000000E9E9E9E9:000000000B0B0B0B:]
js 0xa000106 [000000001C1C1C1C:000000003E3E3E3E:000000004F4F4F4F:0000000050505050:0000000061616161:0000000072727272:0000000083838383:0000000094949494:00000000A5A5A5A5:00000000B6B6B6B6:00000000C7C7C7C7:00000000D8D8D8D8:00000000E9E9E9E9:000000000B0B0B0B:000000002D2D2D2D:]
movq 0x5e(%rip), %rax [000000003E3E3E3E:000000004F4F4F4F:0000000050505050:0000000061616161:0000000072727272:0000000083838383:0000000094949494:00000000A5A5A5A5:00000000B6B6B6B6:00000000C7C7C7C7:00000000D8D8D8D8:00000000E9E9E9E9:000000000B0B0B0B:000000002D2D2D2D:000000001C1C1C1C:]
mov $0x8877665544332211, %rbx [8877665544332211:0000000050505050:0000000061616161:0000000072727272:0000000083838383:0000000094949494:00000000A5A5A5A5:00000000B6B6B6B6:00000000C7C7C7C7:00000000D8D8D8D8:00000000E9E9E9E9:000000000B0B0B0B:000000002D2D2D2D:000000001C1C1C1C:000000003E3E3E3E:]
mov $-0x778899aabbccddef, %rbx [8877665544332211:0000000050505050:0000000061616161:0000000072727272:0000000083838383:0000000094949494:00000000A5A5A5A5:00000000B6B6B6B6:00000000C7C7C7C7:00000000D8D8D8D8:00000000E9E9E9E9:000000000B0B0B0B:000000002D2D2D2D:000000001C1C1C1C:000000003E3E3E3E:]
cmp %rax, %rbx [0000000050505050:0000000061616161:0000000072727272:8877665544332211:0000000094949494:00000000A5A5A5A5:00000000B6B6B6B6:00000000C7C7C7C7:00000000D8D8D8D8:00000000E9E9E9E9:000000000B0B0B0B:000000002D2D2D2D:000000001C1C1C1C:000000003E3E3E3E:8877665544332211:]
jz 0xa000122 [0000000061616161:0000000072727272:8877665544332211:0000000094949494:00000000A5A5A5A5:00000000B6B6B6B6:00000000C7C7C7C7:00000000D8D8D8D8:00000000E9E9E9E9:000000000B0B0B0B:000000002D2D2D2D:000000001C1C1C1C:000000003E3E3E3E:8877665544332211:0000000050505050:]
ud2 [0000000072727272:8877665544332211:0000000094949494:00000000A5A5A5A5:00000000B6B6B6B6:00000000C7C7C7C7:00000000D8D8D8D8:00000000E9E9E9E9:000000000B0B0B0B:000000002D2D2D2D:000000001C1C1C1C:000000003E3E3E3E:8877665544332211:0000000050505050:0000000061616161:]
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/skip.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae # %rax=0x000000000b0b0b0b %rbx=0x000000003e3e3e3e
push %r15 # %rax=0x000000000b0b0b0b %rbx=0x000000003e3e3e3e
js 0xa000106 # %rax=0x000000000b0b0b0b %rbx=0x000000003e3e3e3e
movq 0x5e(%rip), %rax # %rax=0x000000000b0b0b0b %rbx=0x000000003e3e3e3e
mov $0x8877665544332211, %rbx # %rax=0x8877665544332211 %rbx=0x000000003e3e3e3e
mov $-0x778899aabbccddef, %rbx # %rax=0x8877665544332211 %rbx=0x000000003e3e3e3e
cmp %rax, %rbx # %rax=0x8877665544332211 %rbx=0x8877665544332211
ud2 # %rax=0x8877665544332212 %rbx=0x8877665544332211
Illegal instruction
2 changes: 1 addition & 1 deletion test/regtest/src_dst.exp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
000000000a00010a:8877665544332211:000000000b0b0b0b: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:8877665544332211:000000003e3e3e3e: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:8877665544332211:000000003e3e3e3e: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a000140:8877665544332211:0000000072727272: 4c 8b 05 28 00 00 00 movq 0x28(%rip), %r8
000000000a000147:00ffeeddccbbaa99:000000002d2d2d2d: 48 8b 0d 9a 01 00 00 movq 0x19a(%rip), %rcx
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/static.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
000000000a000106:000000000a000106:0000000000000000: 41 57 push %r15
000000000a000108:000000000a000108:0000000000000000: 78 fc js 0xa000106
000000000a00010a:000000000a00010a:0000000000000000: 48 8b 05 5e 00 00 00 movq 0x5e(%rip), %rax
000000000a000111:000000000a000111:0000000000000000: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
000000000a000111:000000000a000111:0000000000000000: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
000000000a00011b:000000000a00011b:0000000000000000: 48 39 c3 cmp %rax, %rbx
000000000a00011e:000000000a00011e:0000000000000000: 74 02 jz 0xa000122
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/sum.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae # 185273099
push %r15 # 370546198
js 0xa000106 # 555819297
movq 0x5e(%rip), %rax # 741092396
mov $0x8877665544332211, %rbx # -8613303245179236803
mov $-0x778899aabbccddef, %rbx # -8613303245179236803
cmp %rax, %rbx # 1220137582609985614
jz 0xa000122 # -7393165663310343585
nop # 2440275164478878832
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/trunc32.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae [0B0B0B0B:2D2D2D2D:1C1C1C1C:3E3E3E3E:4F4F4F4F:50505050:61616161:72
push %r15 [0B0B0B0B:2D2D2D2D:1C1C1C1C:3E3E3E3E:4F4F4F4F:50505050:61616161:72727272:83838383:94949494:A5A5A5A5:B6B6B6B6:C7C7C7C7:D8D8D8D8:E9E9E9E9:]
js 0xa000106 [0B0B0B0B:2D2D2D2D:1C1C1C1C:3E3E3E3E:4F4F4F4F:50505050:61616161:72727272:83838383:94949494:A5A5A5A5:B6B6B6B6:C7C7C7C7:D8D8D8D8:E9E9E9E9:]
movq 0x5e(%rip), %rax [44332211:2D2D2D2D:1C1C1C1C:3E3E3E3E:4F4F4F4F:50505050:61616161:72727272:83838383:94949494:A5A5A5A5:B6B6B6B6:C7C7C7C7:D8D8D8D8:E9E9E9E9:]
mov $0x8877665544332211, %rbx [44332211:2D2D2D2D:1C1C1C1C:44332211:4F4F4F4F:50505050:61616161:72727272:83838383:94949494:A5A5A5A5:B6B6B6B6:C7C7C7C7:D8D8D8D8:E9E9E9E9:]
mov $-0x778899aabbccddef, %rbx [44332211:2D2D2D2D:1C1C1C1C:44332211:4F4F4F4F:50505050:61616161:72727272:83838383:94949494:A5A5A5A5:B6B6B6B6:C7C7C7C7:D8D8D8D8:E9E9E9E9:]
cmp %rax, %rbx [44332211:2D2D2D2D:1C1C1C1C:44332211:4F4F4F4F:50505050:61616161:72727272:83838383:94949494:A5A5A5A5:B6B6B6B6:C7C7C7C7:D8D8D8D8:E9E9E9E9:]
nop [44332211:2D2D2D2D:1C1C1C1C:44332211:4F4F4F4F:50505050:61616161:72727272:83838383:94949494:A5A5A5A5:B6B6B6B6:C7C7C7C7:D8D8D8D8:E9E9E9E9:]
nopl %eax, (%rax) [44332211:2D2D2D2D:1C1C1C1C:44332211:4F4F4F4F:50505050:61616161:72727272:83838383:94949494:A5A5A5A5:B6B6B6B6:C7C7C7C7:D8D8D8D8:E9E9E9E9:]
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/types.exp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0000000000000016:000000000a000111:000000000a000111: 48 bb 11 22 33 44 55 66 mov $0x8877665544332211, %rbx
0000000000000016:000000000a000111:000000000a000111: 48 bb 11 22 33 44 55 66 mov $-0x778899aabbccddef, %rbx
77 88
0000000000000015:000000000a000133:000000000a000133: 83 fb 33 cmp $0x33, %ebx
0000000000000014:000000000a000182:000000000a000182: 48 c7 c1 89 88 ff ff mov $-0x7777, %rcx
Expand Down
2 changes: 1 addition & 1 deletion test/regtest/zero_flags.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae # ZERO FLAGS -Z-P-
push %r15 # ZERO FLAGS -----
js 0xa000106 # ZERO FLAGS -----
movq 0x5e(%rip), %rax # ZERO FLAGS -----
mov $0x8877665544332211, %rbx # ZERO FLAGS -----
mov $-0x778899aabbccddef, %rbx # ZERO FLAGS -----
cmp %rax, %rbx # ZERO FLAGS -Z-P-
jz 0xa000122 # ZERO FLAGS -----
Illegal instruction
2 changes: 1 addition & 1 deletion test/regtest/zero_flags_2.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jnz 0xa0002ae # ZERO FLAGS -Z-P-
push %r15 # ZERO FLAGS -----
js 0xa000106 # ZERO FLAGS -----
movq 0x5e(%rip), %rax # ZERO FLAGS -----
mov $0x8877665544332211, %rbx # ZERO FLAGS -----
mov $-0x778899aabbccddef, %rbx # ZERO FLAGS -----
cmp %rax, %rbx # ZERO FLAGS -Z-P-
jz 0xa000122 # ZERO FLAGS -----
Illegal instruction

0 comments on commit b2a49ba

Please sign in to comment.