diff --git a/Genius3/raw-feature-extractor/preprocessing_ida.py b/Genius3/raw-feature-extractor/preprocessing_ida.py index 14afd45..f2a7af0 100644 --- a/Genius3/raw-feature-extractor/preprocessing_ida.py +++ b/Genius3/raw-feature-extractor/preprocessing_ida.py @@ -31,13 +31,13 @@ def preprocess(): idaapi.autoWait() # 生成pe文件的cfg列表 - cfgs = get_func_cfgs_c(FirstSeg()) + # cfgs = get_func_cfgs_c(FirstSeg()) # 将cfg保存为.ida - pickle.dump(cfgs, open(cfg_path, 'w')) + # pickle.dump(cfgs, open(cfg_path, 'w')) # 生成pe文件的fcg,保存为.dot文件 # idc.GenCallGdl(gdl_path, 'Call Gdl', idc.CHART_GEN_GDL) 这个生成gdl文件,网上几乎找不到gdl这个格式 - idc.GenCallGdl(gdl_path, 'Call Gdl', idaapi.CHART_GEN_DOT) + # idc.GenCallGdl(gdl_path, 'Call Gdl', idaapi.CHART_GEN_DOT) # 生成.asm文件 idc.GenerateFile(idc.OFILE_ASM, asm_path, 0, idc.BADADDR, 0)