Skip to content

Commit

Permalink
[style] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
misonijnik committed Jul 5, 2023
1 parent b7162d7 commit fac8369
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/klee/Solver/SolverCmdLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ extern llvm::cl::opt<CoreSolverType> DebugCrossCheckCoreSolverWith;

extern llvm::cl::opt<bool> ProduceUnsatCore;

extern llvm::cl::opt<unsigned> SymbolicAllocationThreshhold;
extern llvm::cl::opt<unsigned> SymbolicAllocationThreshold;

#ifdef ENABLE_METASMT

Expand Down
2 changes: 1 addition & 1 deletion lib/Core/Executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5152,7 +5152,7 @@ bool Executor::computeSizes(ExecutionState &state, ref<Expr> size,
bool success = solver->getResponse(
state.constraints.cs(),
UgtExpr::create(symbolicSizesSum,
ConstantExpr::create(SymbolicAllocationThreshhold,
ConstantExpr::create(SymbolicAllocationThreshold,
symbolicSizesSum->getWidth())),
response, state.queryMetaData);
solver->setTimeout(time::Span());
Expand Down
2 changes: 1 addition & 1 deletion lib/Solver/ConcretizingSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ bool ConcretizingSolver::relaxSymcreteConstraints(const Query &query,
Query(queryConstraints,
UgtExpr::create(
symbolicSizesSum,
ConstantExpr::create(SymbolicAllocationThreshhold,
ConstantExpr::create(SymbolicAllocationThreshold,
symbolicSizesSum->getWidth()))),
response)) {
return false;
Expand Down
4 changes: 2 additions & 2 deletions lib/Solver/SolverCmdLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ llvm::cl::opt<bool>
llvm::cl::desc("Produce unsat core (default=true)."),
llvm::cl::cat(klee::SolvingCat));

llvm::cl::opt<unsigned> SymbolicAllocationThreshhold(
"symbolic-allocation-threshhold",
llvm::cl::opt<unsigned> SymbolicAllocationThreshold(
"symbolic-allocation-threshold",
llvm::cl::desc("Maximum possible sum of sizes for all symbolic allocation "
"before minimazation (default 1Kb)"),
llvm::cl::init(1024), llvm::cl::cat(klee::SolvingCat));
Expand Down

0 comments on commit fac8369

Please sign in to comment.