Skip to content

Commit 2e5a33c

Browse files
authored
Remove unused and broken rop.find_stack_adjustment (Gallopsled#2249)
* Added missing return to rop.find_stack_adjustment * Removed ROP.find_stack_adjustment()
1 parent b8b29e1 commit 2e5a33c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pwnlib/rop/rop.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,10 +1037,6 @@ def build(self, base = None, description = None):
10371037

10381038
return stack
10391039

1040-
1041-
def find_stack_adjustment(self, slots):
1042-
self.search(move=slots * context.bytes)
1043-
10441040
def chain(self, base=None):
10451041
"""Build the ROP chain
10461042

0 commit comments

Comments
 (0)