Skip to content

Commit

Permalink
Merge branch 'feat/hu_ged' into feat/hu_ged_eval
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz committed Nov 14, 2024
2 parents 2b914ac + 6690a94 commit 75eb277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sailreval/decompilers/angr_dec.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def angr_decompile(
LoweredSwitchSimplifier, ReturnDeduplicator, ReturnDuplicatorLow, ReturnDuplicatorHigh, CrossJumpReverter,
ConstPropOptReverter, DuplicationReverter, FlipBooleanCmp, ITERegionConverter
)
from angr.analyses.decompiler.presets import DECOMPILATION_PRESETS
from cle.backends.coff import Coff

# setup a CFG with Calling Conventions recovered
Expand Down Expand Up @@ -123,7 +124,7 @@ def angr_decompile(
LoweredSwitchSimplifier, ReturnDeduplicator, ReturnDuplicatorLow, ReturnDuplicatorHigh, CrossJumpReverter,
ConstPropOptReverter, DuplicationReverter, FlipBooleanCmp, ITERegionConverter
]
all_optimization_passes = angr.analyses.decompiler.optimization_passes.get_default_optimization_passes(
all_optimization_passes = DECOMPILATION_PRESETS["full"].get_optimization_passes(
"AMD64", "linux", disable_opts=[] if use_deoptimizers else deoptimizers
)
if is_windows and LoweredSwitchSimplifier in all_optimization_passes:
Expand Down

0 comments on commit 75eb277

Please sign in to comment.