Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-27 | Core/Executor: long double on i686 must be aligned to 4 bytes | Lukáš Zaoral | |
According to i686 System V ABI 2.1.1, long double must be aligned to 4 bytes. Thus, its size with padding is 12 bytes. Prior to this change only 10 bytes were used. This commit fixes the following out of bound pointer access. ``` $ clang -m32 -O0 -Xclang -disable-O0-optnone -g -emit-llvm -c test/Feature/VarArgAlignment.c -o varalign.bc $ klee varalign.bc KLEE: output directory is "/home/lukas/klee/klee-out-19" KLEE: Using Z3 solver backend KLEE: WARNING: undefined reference to function: printf KLEE: WARNING ONCE: calling external: printf(44120064, 1, 2, 3) at test/Feature/VarArgAlignment.c:23 17 i1, i2, i3: 1, 2, 3 l1: 4 i4: 5 ld1: 6.000000 KLEE: ERROR: test/Feature/VarArgAlignment.c:35: memory error: out of bound pointer KLEE: NOTE: now ignoring this error at this location KLEE: done: total instructions = 499 KLEE: done: completed paths = 1 KLEE: done: generated tests = 1 ``` | |||
2023-03-23 | stats: add termination class stats | Frank Busse | |
2023-03-23 | stats: add branch type stats | Frank Busse | |
2023-03-23 | stats: rename States -> ActiveStates, add States | Frank Busse | |
2023-03-23 | stats: add Allocations | Frank Busse | |
2023-03-23 | stats: rename numQueries/Queries -> SolverQueries, add Queries | Frank Busse | |
2023-03-23 | stats: add ExternalCalls | Frank Busse | |
2023-03-23 | stats: add QCacheHits/Misses | Frank Busse | |
2023-03-23 | stats: add InhibitedForks | Frank Busse | |
2023-03-23 | remove obsolete header | Daniel Schemmel | |
2023-03-22 | STP: add option to switch SAT solver: --stp-sat-solver and set default to ↵ | Frank Busse | |
CryptoMinisat | |||
2023-03-22 | Change `llvm_map_components_to_libnames` to `llvm_config` CMake function | Martin Nowack | |
With recent LLVM versions, this should allow to link against dynamic LLVM libraries. | |||
2023-03-20 | ConstantArrayExprVisitor: Fix detection of multiple array indices | Lukáš Zaoral | |
Previously, the code did two consecutive checks. First one succeeded only if the given index was not already seen and the second one did an analogous check but for arrays. However, if the given index usage was already detected for some array, its usage for another array that already had some other index detected would be silently skipped and the `incompatible` flag would not be set. Therefore, if the code contained e.g. the following conditional jump on two arrays with two symbolic indices, the multi-index access would remain undetected: if ((array1[k] + array2[x] + array2[k]) == 0) Resulting in the following output: KLEE: WARNING: OPT_I: infeasible branch! KLEE: WARNING: OPT_I: successful | |||
2023-03-20 | ConstantArrayExprVisitor: Deduplicate `visitConcat` and `visitRead` | Lukáš Zaoral | |
2023-03-20 | llvm14: PointerType::getElementType() was deprecated | Lukáš Zaoral | |
... for LLVM 14 in [1] and has already been removed from the LLVM 15 branch in [2]. Some changes are only temporary to silence the warning though, as Type::getPointerElementType() is planned to be removed as well. [3] [1] https://reviews.llvm.org/D117885/new/ [2] https://github.com/llvm/llvm-project/commit/d593cf7 [3] https://llvm.org/docs/OpaquePointers.html#migration-instructions | |||
2023-03-20 | llvm14: TargetRegistry.h was moved from Support to MC | Lukáš Zaoral | |
2023-03-17 | Fix compiler warning with newer compilers | Martin Nowack | |
2023-03-17 | [cmake] Use LLVM's CMake functionality only | Martin Nowack | |
LLVM became more complex, use LLVM's CMake functionality directly instead of replicating this behaviour in KLEE's build system. Use the correct build flags provided by LLVM itself. This is influenced by the way LLVM is built in the first place. Remove older CMake support (< 3.0). | |||
2023-03-16 | Integrate KDAlloc into KLEE | Daniel Schemmel | |
2023-03-16 | The KDAlloc slot allocator is useful for small sized allocations | Daniel Schemmel | |
2022-09-26 | Improve the message for when large arrays become symbolic. Only print this ↵ | Cristian Cadar | |
warning once per array. Add test case. | |||
2022-09-24 | Pass llvm.experimental.noalias.scope.decl to IntrinsicLowering so that it ↵ | Pavel | |
strips out these intrinsics | |||
2022-09-14 | Eliminate .undefined_behavior.err category and simplify tests | Pavel | |
2022-09-14 | Introduce separate categories for different kinds of undefined behavior | Pavel | |
2022-09-14 | Support UBSan-enabled binaries | Pavel Yatcheniy | |
2022-08-26 | Use true instead of Z3_TRUE (removed in z3 4.11.0) | Jerry James | |
2022-07-24 | Support arguments of width 128, 256 and 512 bits for external calls | Pavel | |
2022-07-04 | Inline asm external call | Mikhail | |
2022-07-04 | Fix memory leak in crosscheck core solver mechanism | Daniel Schemmel | |
2022-06-30 | rename CallSite to CallBase | Frank Busse | |
2022-06-30 | remove LLVM < 9 | Frank Busse | |
2022-06-28 | Implement getArrayForUpdate iteratively | Daniel Schemmel | |
2022-06-26 | Intrinsics: Add support for @llvm.f{ma,muladd}.f* | Lukáš Zaoral | |
2022-06-15 | Spelling Fixes | m-davis | |
2022-06-13 | .err files: minor readability changes to stack trace output | Frank Busse | |
2022-06-13 | Update SpecialFunctionHandler.cpp | Chaoqi Zhang | |
use size() to get N in bind(), just like the way in prepare(). | |||
2022-05-05 | cl flags: document default values, remove dead option: --replay-keep-symbolic | Frank Busse | |
2022-04-25 | use mallinfo2 if available | Frank Busse | |
2022-04-01 | Remove unnecessary call to deprecated function sqlite3_enable_shared_cache | Cristian Cadar | |
2022-03-21 | Fixed a wrong type when computing memory usage on macOS | Cristian Cadar | |
2022-03-17 | remove obsolete KLEE_LLVM legacy defines | Julian Büning | |
2022-03-17 | LLVM < 6 leftovers | Julian Büning | |
2022-03-17 | remove LLVM < 6 from sources | Frank Busse | |
2022-03-17 | Fixed GetTotalMallocUsage on macOS to look at all zones. (The test ↵ | Cristian Cadar | |
MemoryLimit.h fails on macOS 12.1 without this fix.) | |||
2022-03-09 | Core/Executor: Fix unaligned write of fp80 arguments | Lukáš Zaoral | |
... in Executor::callExternalFunction. Fixes the following error reported in Feature/VarArg{Alignment,LongDouble}.c tests: lib/Expr/Expr.cpp:366:5: runtime error: store to misaligned address 0x7ffc011d3528 for type 'long double', which requires 16 byte alignment | |||
2022-03-09 | Core/ExecutionState: Fix uninitialized reads in unit tests | Lukáš Zaoral | |
... by initialising all members of fundamental types of the ExecutionState class. Fixes the following error in SearcherTest.{Two,}RandomPath unit tests: lib/Core/ExecutionState.cpp:114:22: runtime error: load of value 254, which is not a valid value for type 'bool' | |||
2022-01-07 | stats: remove reachableUncovered (unused) | Frank Busse | |
2022-01-06 | Comment the code dealing with un/flushed bytes, and resolve old naming issue ↵ | Cristian Cadar | |
by renaming flushMask to unflushedMask | |||
2022-01-05 | introduce BranchTypes | Frank Busse | |
2022-01-05 | Remove outdated reference to klee_make_symbolic_name | Cristian Cadar | |