Fix mprotect failing on py2

pull/816/head
Disconnect3d 5 years ago committed by GitHub
parent fa326d3483
commit 96716ce825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,7 +47,7 @@ def prot_str_to_val(protstr):
@pwndbg.commands.ArgparsedCommand(parser)
@pwndbg.commands.OnlyWhenRunning
@pwndbg.commands.OnlyAmd64
def mprotect(addr, length, prot: str):
def mprotect(addr, length, prot):
'''Only x86_64.'''
saved_rax = pwndbg.regs.rax
saved_rbx = pwndbg.regs.rbx

Loading…
Cancel
Save