From 93db22753538dfb6876dc8329056ab707917e659 Mon Sep 17 00:00:00 2001 From: huihun <781165206@qq.com> Date: Sun, 3 Mar 2024 14:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E5=A4=9A=E7=BA=BF=E7=A8=8B?= =?UTF-8?q?=E4=B8=8E=E6=97=A5=E5=BF=97=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Genius3/raw-feature-extractor/preprocessing_ida.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)