mirror of
https://github.com/dobin/SuperMega
synced 2026-06-03 01:27:11 +00:00
feature: check if payload fits in code section
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ def r2_disas(data: bytes):
|
||||
f.write(data)
|
||||
code_len = len(data)
|
||||
|
||||
r2 = r2pipe.open(filename, flags=['-e', 'scr.prompt=false', '-e'])
|
||||
r2 = r2pipe.open(filename, flags=['-e', 'scr.prompt=false'])
|
||||
r2.cmd('aaa')
|
||||
|
||||
r2.cmd('e scr.color=0')
|
||||
|
||||
Reference in New Issue
Block a user