Skip to content

Commit

Permalink
Reduce max_nof_inst
Browse files Browse the repository at this point in the history
The original limit on the number of instructions was chosen to
prevent memory explosions when building the SMT and was set much
higher than what is reasonable for the SMT solver to check.
Reduce the value to skip more functions that are obviously too
large to analyze, avoiding wasted time on checks that would only
time out.
  • Loading branch information
kristerw committed Oct 29, 2024
1 parent 51a0ec2 commit 4e79c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smtgcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace smtgcc {
const int unroll_limit = 12;

const uint32_t max_nof_bb = 50000;
const uint32_t max_nof_inst = 1000000;
const uint32_t max_nof_inst = 100000;

struct Not_implemented
{
Expand Down

0 comments on commit 4e79c43

Please sign in to comment.