This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import r2pipe | |
r2 = r2pipe.open() | |
a = r2.cmd('ii~__assert_rtn[1]').strip() | |
if not a: | |
print('[assnam] Cannot find assert_rtn import') | |
exit(1) | |
if int(r2.cmd('aflc')) == 0: |