Skip to content

Commit

Permalink
rely on existing diaphora code
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric Halbronn committed Dec 14, 2022
1 parent 7fed1fc commit f5d2dfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions idahunt.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ def show_all(inputdir, filter, filename, funcname, verbose, max_ida, diaphora_pa
continue

env = {
"DIAPHORA_AUTO4":"1",
"DIAPHORA_AUTO_HTML":"1",
"DIAPHORA_DB1":str(sqlitedb_path),
"DIAPHORA_DB2":str(sqlitedb2_path),
"DIAPHORA_DIFF":str(diaphoradb_path),
Expand Down Expand Up @@ -790,7 +790,8 @@ def show_all(inputdir, filter, filename, funcname, verbose, max_ida, diaphora_pa
logmsg("EXECUTE DIFF-EXPORT")
script = os.path.join(args.diaphora_path, "diaphora_ida.py")
env = {
"DIAPHORA_AUTO2": "1",
"DIAPHORA_AUTO": "1",
"DIAPHORA_USE_DECOMPILER": "1",
"DIAPHORA_EXPORT_FILE": "%%FILE%%.sqlite",
}
filter_ = f"filters\\diff.py -n {args.filename}"
Expand Down

0 comments on commit f5d2dfd

Please sign in to comment.