Skip to content

Commit d92e8e6

Browse files
committed
Update KLEE
1 parent 1df9b7f commit d92e8e6

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

server/src/KleeRunner.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ void KleeRunner::runKlee(const std::vector<tests::TestMethod> &testMethods,
5858
LOG_SCOPE_FUNCTION(DEBUG);
5959

6060
fs::path kleeOutDir = Paths::getKleeOutDir(projectContext);
61-
if (fs::exists(kleeOutDir)) {
62-
FileSystemUtils::removeAll(kleeOutDir);
63-
}
61+
// if (fs::exists(kleeOutDir)) {
62+
// FileSystemUtils::removeAll(kleeOutDir);
63+
// }
6464
fs::create_directories(kleeOutDir);
6565
CollectionUtils::MapFileTo<std::vector<TestMethod>> fileToMethods;
6666
for (const auto &method : testMethods) {
@@ -219,9 +219,9 @@ KleeRunner::createKleeParams(const tests::TestMethod &testMethod,
219219

220220
std::vector<std::string> argvData = {
221221
"klee",
222-
"--entry-point=" + KleeUtils::entryPointFunction(tests, testMethod.methodName, true),
222+
"--entry-points=" + KleeUtils::entryPointFunction(tests, testMethod.methodName, true),
223223
"--libc=klee",
224-
"--utbot",
224+
// "--utbot",
225225
"--posix-runtime",
226226
"--skip-not-lazy-initialized",
227227
"--min-number-elements-li=1",

server/src/Server.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ Status Server::TestsGenServiceImpl::ProcessBaseTestRequest(BaseTestGen &testGen,
312312
fetcher.getStructsToDeclare(), testGen.serverBuildDir, typesHandler)
313313
.generateTestHeaders(testGen.tests, stubGen, selectedTargets, testGen.progressWriter);
314314
KleeRunner kleeRunner{testGen.projectContext, testGen.settingsContext};
315-
bool interactiveMode = (dynamic_cast<ProjectTestGen *>(&testGen) != nullptr);
315+
// bool interactiveMode = (dynamic_cast<ProjectTestGen *>(&testGen) != nullptr);
316+
bool interactiveMode = false;
316317
auto generationStartTime = std::chrono::steady_clock::now();
317318
StatsUtils::TestsGenerationStatsFileMap generationStatsMap(testGen.projectContext,
318319
std::chrono::duration_cast<std::chrono::milliseconds>(

submodules/klee

0 commit comments

Comments
 (0)