From 6df579b9d41417c1e01bed2cdd5275d0b55ec316 Mon Sep 17 00:00:00 2001 From: CuB3y0nd <91041570+CuB3y0nd@users.noreply.github.com> Date: Tue, 24 Dec 2024 21:29:37 +0800 Subject: [PATCH] fix: asm() using incorrect assembler for amd64 --- pwnlib/asm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnlib/asm.py b/pwnlib/asm.py index 139ab6726..1557fc3a4 100644 --- a/pwnlib/asm.py +++ b/pwnlib/asm.py @@ -184,7 +184,7 @@ def which_binutils(util, check_version=False): 'thumb': ['arm', 'aarch64'], 'i386': ['x86_64', 'amd64'], 'i686': ['x86_64', 'amd64'], - 'amd64': ['x86_64', 'i386'], + 'amd64': ['x86_64', 'amd64'], 'mips64': ['mips'], 'powerpc64': ['powerpc'], 'sparc64': ['sparc'],