diff options
Diffstat (limited to 'sploit/rev/r2.py')
-rw-r--r-- | sploit/rev/r2.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sploit/rev/r2.py b/sploit/rev/r2.py index e81adc9..69445ac 100644 --- a/sploit/rev/r2.py +++ b/sploit/rev/r2.py @@ -74,7 +74,6 @@ def rop_json(binary): # ] return json.loads("\n".join(run_cmd(binary, "/Rj"))) -@cache def rop_gadgets(binary, *regexes, cont=False): ilog(f"Searching {binary} for {'; '.join(regexes)} gadgets with r2...") gadgets = rop_json(binary) @@ -116,7 +115,6 @@ def rop_gadget(binary, *regexes): raise LookupError(f"Could not find gadget for: {'; '.join(regexes)}") return results[0] -@cache def get_call_returns(binary,xref_from,xref_to): ilog(f'Getting return addresses of calls from {hex(xref_from)} to {hex(xref_to)} in {binary} with r2...') @@ -132,7 +130,6 @@ def get_call_returns(binary,xref_from,xref_to): rets.append(CallRet(xref_from,xref_to,int(x[0],0),int(ret[0],0))) return rets -@cache def get_bin_info(binary): ilog(f'Retrieving binary and security info about {binary} with r2...') |