Open AdizeroYU opened 1 year ago
This problem has been solved:check the version of your joern and different versions of joern have different parameter formats.
I changed os.system('sh joern-parse $file --language c --out $out')
to os.system('sh joern-parse $file --language c --output $out')
,then it works.
May I ask if this needs to be modified as well? os.system('sh joern-export $bin'+ " --repr " + "pdg" + ' --out $out')
运行joern_graph_gen.py时,joern报错称 "Error: Unknown option --out Error: Unknown argument './data/sard/bins/Vul/CVE_raw_000119535_CWE78_OS_Command_Injection__char_file_system_09_bad.bin' Try --help for more information. Failure: Could not parse command line options"