JonathanSalwan/ROPgadget — pull request #42 by fdfalcon (2014-05-14 17:16:09+00:00)
Title: Split src

This patch fixes a bug in the --badbytes option.
Let's say that there's a gadget at address 0x0804c140; if I set --badbytes to "14", ROPgadget filters out that address, when it should not be filtered, because it's making a match taking parts from two bytes: the 1 from C1 and the 4 from 40.

Also, I've added the 'count' command to the console, which will just print out the number of loaded gadgets.