Add a function to look for srop gadget in a specified memory range
The gadgets required for SROP remain pretty much the same for an architecture, it would be helpful to be able to quickly scan a page for these gadgets.
This commit would probably be more useful if it could autodetect the architecture and look for gadgets required for that specific architecture in specified memory range. I could add in 64-bit + ARM support if you'd be interested.
Thanks for the feature, I, for one, am interested in this. More architectures would definitely be a plus.
Another feature I can think of is to have it behave in a similar way to ropgadget when no arguments are passed. I think it looks in all executable memory by default but I'm unsure about this.