Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/klee/Statistics/Statistic.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define KLEE_STATISTIC_H

#include <string>
#include <cstdint>

namespace klee {
class Statistic;
Expand Down
3 changes: 2 additions & 1 deletion lib/Core/Executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4282,6 +4282,7 @@ void Executor::terminateStateOnSolverError(ExecutionState &state,
// XXX shoot me
static const char *okExternalsList[] = { "printf",
"fprintf",
"vsnprintf",
"sscanf",
"snprintf",
"puts",
Expand Down Expand Up @@ -4403,7 +4404,7 @@ static std::set<std::string> nokExternals({"fesetround", "fesetenv",
"feclearexcept", "feraiseexcept",
"gettext", "dcgettext" , "longjmp", "fgets", "getmntent",
"__freading", "__fwriting", "fread", "fread_unlocked",
"strspn", "strtod"});
"strspn", "strtod", "setlocale"});

void Executor::callExternalFunction(ExecutionState &state,
KInstruction *target,
Expand Down
2 changes: 1 addition & 1 deletion lib/Core/SpecialFunctionHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ void SpecialFunctionHandler::handleVerifierNondetType(ExecutionState &state,
// std::get<0>(nondet).c_str(), std::get<1>(nondet),
// std::get<2>(nondet), val.getZExtValue());

putConcreteValue(state, name, val.isSigned(), target,
putConcreteValue(state, name, isSigned, target,
ConstantExpr::alloc(val.getZExtValue(), size));

++position; // matched, move on
Expand Down
Loading