Skip to content

Commit d76c9fc

Browse files
authored
Fix typo in mips mov shellcraft template (Gallopsled#2195)
1 parent 8f122c3 commit d76c9fc

File tree

1 file changed

+1
-1
lines changed
  • pwnlib/shellcraft/templates/mips

1 file changed

+1
-1
lines changed

pwnlib/shellcraft/templates/mips/mov.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ if not dst.startswith('$'):
6969
log.error("Registers must start with $")
7070
return
7171

72-
if isinstance(src, str) and dst.startswith('$') and dst not in registers.mips:
72+
if isinstance(dst, str) and dst.startswith('$') and dst not in registers.mips:
7373
log.error("Unknown register %r" % dst)
7474
return
7575

0 commit comments

Comments
 (0)