From 4328148109ac77a508d2d3e28c3edabae3ea7380 Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Tue, 3 May 2016 07:38:22 -0700 Subject: [PATCH] Fix MIPS syscall ABI --- pwndbg/abi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/abi.py b/pwndbg/abi.py index 874d901fb..66ee3858a 100644 --- a/pwndbg/abi.py +++ b/pwndbg/abi.py @@ -87,7 +87,7 @@ linux_i386_syscall = SyscallABI(['eax', 'ebx', 'ecx', 'edx', 'esi', 'edi', 'ebp' linux_amd64_syscall = SyscallABI(['rax','rdi', 'rsi', 'rdx', 'r10', 'r8', 'r9'], 8, 0) linux_arm_syscall = SyscallABI(['r7', 'r0', 'r1', 'r2', 'r3', 'r4', 'r5', 'r6'], 4, 0) linux_aarch64_syscall = SyscallABI(['x8', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6'], 16, 0) -linux_mips_syscall = ABI(['$v0', '$a0','$a1','$a2','$a3'], 4, 0) +linux_mips_syscall = SyscallABI(['$v0', '$a0','$a1','$a2','$a3'], 4, 0) linux_i386_sigreturn = SigreturnABI(['eax'], 4, 0) linux_amd64_sigreturn = SigreturnABI(['rax'], 4, 0)