From 2214c8f2e79da57c15ba1522483a012cc9bf0352 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Fri, 31 May 2013 16:24:27 -0500 Subject: [PATCH] Improve readability based on Egypt's feedback --- rop.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rop.rb b/rop.rb index 6d24a40..aa16406 100644 --- a/rop.rb +++ b/rop.rb @@ -203,7 +203,7 @@ class RopCollect < RopBase xtra = insn.bin_length - num.step(0, -1) do |x| + num.downto(0) do |x| addr = ea - x # get the disassembled instruction at this address