Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
misonijnik committed Aug 20, 2024
1 parent 355ce54 commit b7d36ee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
"Latest klee-uclibc",
"Asserts disabled",
"No TCMalloc, optimised runtime",
"Warnings as errors",
]
include:
- name: "LLVM 16"
Expand Down
2 changes: 1 addition & 1 deletion DEBT
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ KLEE 3.1, 29 February 2024
KLEE 3.0, 7 June 2023
=====================

- Added support for the KDAlloc memory allocator, which enables KLEE to more robustly detect use-after-free errors, improves the detection of buffer overflows, and provides deterministic memory allocation (@danielschemmel, based on https://srg.doc.ic.ac.uk/publications/22-kdalloc-ecoop.html)
- Added support for the KDAlloc memory allocator, which enables KLEE to more robustly detect use-after-free errors, improves the detection of buffer overflows, and provides deterministic memory allocation (@danielschemmel, based on https://srg.doc.ic.ac.uk/publications/22-kdalloc-ecoop.html)
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Base folder where dependencies and KLEE itself are installed
BASE=$HOME/klee_build
BUILD_SUFFIX="Debug"
BUILD_SUFFIX="Release"

## KLEE Required options
# Build type for KLEE. The options are:
Expand All @@ -15,7 +15,7 @@ BUILD_SUFFIX="Debug"
# Release+Debug+Asserts
# Debug
# Debug+Asserts
KLEE_RUNTIME_BUILD="Debug"
KLEE_RUNTIME_BUILD="Release"

COVERAGE=0
ENABLE_DOXYGEN=0
Expand Down Expand Up @@ -65,7 +65,7 @@ if [ "$1" = "--debug" ] || [ "$1" = "-g" ]; then
ENABLE_OPTIMIZED=0
ENABLE_DEBUG=1
KLEE_RUNTIME_BUILD="Debug+Asserts"
ENABLE_WARNINGS_AS_ERRORS=1
ENABLE_WARNINGS_AS_ERRORS=0
shift 1
else
KEEP_PARSE="false"
Expand Down
6 changes: 0 additions & 6 deletions lib/Module/KModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,6 @@ void KModule::manifest(InterpreterHandler *ih,
}
}

for (auto &Function : functions) {
if (Function->getName() == "_klee_eh_cxx_personality") {
llvm::errs();
}
}

if (DebugPrintEscapingFunctions && !escapingFunctions.empty()) {
llvm::errs() << "KLEE: escaping functions: [";
std::string delimiter = "";
Expand Down

0 comments on commit b7d36ee

Please sign in to comment.