Permalink
Browse files

Fix typo on Gadget.addr -> Gadget.address

  • Loading branch information...
bannsec authored and zachriggle committed Dec 2, 2017
1 parent 9ba966d commit 5d537a6189be5131e63144e20556302606c5895e
Showing with 1 addition and 1 deletion.
  1. +1 −1 pwnlib/rop/rop.py
View
@@ -1156,7 +1156,7 @@ def search_iter(self, move=None, regs=None):
regs = set(regs or ())
for addr, gadget in self.gadgets.items():
addr_bytes = set(pack(gadget.addr))
addr_bytes = set(pack(gadget.address))
if addr_bytes & self._badchars: continue
if gadget.insns[-1] != 'ret': continue
if gadget.move < move: continue

0 comments on commit 5d537a6

Please sign in to comment.