Skip to content

Commit

Permalink
Fix synth
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanSalwan committed Jan 29, 2022
1 parent 2fa33e4 commit 975ed34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libtriton/engines/synthesis/synthesizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ namespace triton {
}

// If nothing worked, do constant opaque synthesis
if (ret == false && opaque == true && node->getLevel() > 2) {
if (vars.size() && ret == false && opaque == true && node->getLevel() > 2) {
ret = this->opaqueConstantSynthesis(vars, node, result);
}

Expand Down

0 comments on commit 975ed34

Please sign in to comment.