7 lines
307 B
Python
7 lines
307 B
Python
import angr
|
|
from angrutils import plot_cfg
|
|
def cfgfastpng(filename):
|
|
proj = angr.Project(filename,load_options={"auto_load_libs":False})
|
|
print("----------static-----------")
|
|
cfg = proj.analyses.CFGFast()
|
|
plot_cfg(cfg, filename, asminst=True, remove_imports=True, remove_path_terminator=True) |