From 1725ce5a7daf99a75508f15650a01321dd5a8ecc Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 19 Nov 2024 11:02:16 +0900 Subject: Define some packages --- patches/e9patch-check-intel-format.patch | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 patches/e9patch-check-intel-format.patch (limited to 'patches/e9patch-check-intel-format.patch') diff --git a/patches/e9patch-check-intel-format.patch b/patches/e9patch-check-intel-format.patch new file mode 100644 index 0000000..4f89d0a --- /dev/null +++ b/patches/e9patch-check-intel-format.patch @@ -0,0 +1,39 @@ +From 0aac3e4afbdb095b1aad3823698ce2e0a96fc1ee Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= +Date: Mon, 18 Nov 2024 15:07:41 +0900 +Subject: [PATCH] Specify qword ptr in Intel test output + +--- + test/regtest/print_intel.exp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/test/regtest/print_intel.exp b/test/regtest/print_intel.exp +index ae91f44..9bdbe0f 100644 +--- a/test/regtest/print_intel.exp ++++ b/test/regtest/print_intel.exp +@@ -24,14 +24,14 @@ jmp 0xa000163 + call 0xa000168 + jmp 0xa00016d + jmp 0xa000177 +-lea r10, [rip+0x14] ++lea r10, qword ptr [rip+0x14] + push r10 + push r11 + mov rcx, 0xffffffffffff8889 + jmp qword ptr [rsp+rcx*1+0x777f] + call 0xa0001b5 + add rsp, 0x8 +-lea rdx, [rip+0x2] ++lea rdx, qword ptr [rip+0x2] + call rdx + pop r14 + add r9, 0x6 +@@ -85,7 +85,7 @@ xor eax, eax + inc eax + mov edi, eax + inc rdi +-lea rsi, [rip+0x54] ++lea rsi, qword ptr [rip+0x54] + mov rdx, 0x7 + syscall + PASSED -- cgit 1.4.1