about summary refs log tree commit diff homepage
AgeCommit message (Collapse)Author
2016-11-23Renamed .pc to .kquery (kleaver query)Eric Rizzi
2016-11-23[CMake] Fix some indentation issues.Dan Liew
2016-11-23[CMake] Fix bug where the wrong path is checked for when checkingDan Liew
to see if we can find klee-uclibc's C library.
2016-11-22[CMake] Fix determining the system libraries needed by LLVM fromDan Liew
`llvm-config` when using LLVM 3.5 and newer. In newer versions of `llvm-config`, `--ldflags` doesn't give the system libraries anymore. Instead we need to use `--system-libs`. Issue reported by @ryosa .
2016-11-22[CMake] Add another missing LLVM component dependency for `kleeModule`.Dan Liew
Reported by @jirislaby in #507.
2016-11-22[CMake] Fix link order of LLVM libraries and required system libraries.Dan Liew
Now LLVM libraries are added as imported targets and their link dependencies are explicitly stated so CMake can get the link order correct.
2016-11-22[CMake] Add missing dependencies reported in #507.Dan Liew
This has shown that there is another circular dependency (added by me! sigh...) between `kleeCore` and `kleeModule`.
2016-11-21[CMake] Fix the build when `-DBUILD_SHARED_LIBS=ON` is passed.Dan Liew
This fixes issue #507. We can't build the components as shared libraries right now due to cyclic dependencies (see #502 for a fix) and there are a few other patches needed too (see #507). Building the components as shared libraries isn't really desirable anyway because it would require us to ship KLEE's libraries which don't have a stable API.
2016-11-20[CMake] Implement install of the kleeRuntest target.Dan Liew
2016-11-20[CMake] Fix the old Autoconf/Makefile build system files in source tree ↵Dan Liew
interfering with CMake build. We now raise a fatal error if we detect certain files in the source tree. This is a heuristic but it's good enough for now. The order of includes has also been changed so that the build tree include directory has priority over the source tree include directory so that even if the added check was missing the right header file (i.e. `${CMAKE_BINARY_DIR}/include/klee/Config/config.h` would be picked up at build time.
2016-11-19[CMake] Remove unneeded dependency declarations for the unit tests.Dan Liew
These were changes that I forgot to make in dda296e09ee53ed85ccf1c3f08e7e809adce612e .
2016-11-19Remove option --randomize-fork. If someone needs this, the right way is to ↵Cristian Cadar
implement it in the solver.
2016-11-19Merge branch 'MartinNowack-fix_bfs2'Cristian Cadar
2016-11-19Documented the level at which BFS operates in KLEE, as part of --helpCristian Cadar
2016-11-19Merge branch 'fix_bfs2' of https://github.com/MartinNowack/klee into ↵Cristian Cadar
MartinNowack-fix_bfs2
2016-11-19Merge pull request #492 from hoangmle/masterCristian Cadar
add nicer error messages for --use-merge and add explanation why it currently cannot be used with random-path
2016-11-19[CMake] Document implicit `STP_DIR` and `metaSMT_DIR` options.Dan Liew
2016-11-18[CMake] Remove use of tabs in `CMakeLists.txt` files.Dan Liew
2016-11-18[CMake] Re-express LLVM and KLEE library dependencies asDan Liew
transitive dependencies on KLEE's libraries rather than on the final binaries. This is better because it means we can build other tools that use KLEE's libraries and not need to express the needed LLVM dependencies. It also makes it clearer what the dependencies are between KLEE libraries. This has illustrated a problem with the `kleeBasic` library. It contains `ConstructSolverChain.cpp` which clearly belongs in `kleaverSolver` not in `kleeBasic`. This will be fixed later.
2016-11-17[cmake] Build with newer JIT (for LLVM >= 3.6)Adrian Herrera
Links in the correct LLVM libraries when using the MCJIT. No effect for LLVM versions less than 3.6
2016-11-09Fix BFS searcherMartin Nowack
For performance reasons, if KLEE branches, one state is reused and it is progressed by adding new constraints. Make sure both new states end up at the end of the BFS searcher queue.
2016-11-08add nicer error messages for --use-merge and add explanation why it ↵Hoang M. Le
currently cannot be used with random-path
2016-11-07[CMake] Report git revision information if available.Dan Liew
This is done as a separate commit because it imports third party code. It's under the Boost license though so it "should be" fine.
2016-11-07Add the Dockerfile to `.dockerignore` so that changes the DockerfileDan Liew
don't trigger unnecessary rebuilds. Also make the Dockerfile ignore Vim source files anywhere in the tree.
2016-11-07Implement a CMake based build system for KLEE.Dan Liew
This is based off intial work by @jirislaby in #481. However it has been substantially modified. Notably it includes a separate build sytem to build the runtimes which is inspired by the old build system. The reason for doing this is because CMake is not well suited for building the runtime: * CMake is configured to use the host compiler, not the bitcode compiler. These are not the same thing. * Building the runtime using `add_custom_command()` is flawed because we can't automatically get transitive depencies (i.e. header file dependencies) unless the CMake generator is makefiles. (See `IMPLICIT_DEPENDS` of `add_custom_command()` in CMake). So for now we have a very simple build system for building the runtimes. In the future we can replace this with something more sophisticated if we need it. Support for all features of the old build system are implemented apart from recording the git revision and showing it in the output of `klee --help`. Another notable change is the CMake build system works much better with LLVM installs which don't ship with testing tools. The build system will download the sources for `FileCheck` and `not` tools if the corresponding binaries aren't available and will build them. However `lit` (availabe via `pip install lit`) and GTest must already be installed. Apart from better support for testing a significant advantage of the new CMake build system compared to the existing "Autoconf/Makefile" build system is that it is **not** coupled to LLVM's build system (unlike the existing build system). This means that LLVM's autoconf/Makefiles don't need to be installed somewhere on the system. Currently all tests pass. Support has been implemented in TravisCI and the Dockerfile for building with CMake. The existing "Autoconf/Makefile" build system has been left intact and so both build systems can coexist for a short while. We should remove the old build system as soon as possible though because it creates an unnecessary maintance burden.
2016-11-03Merge pull request #491 from andreamattavelli/fix_raiseasm_macosMartinNowack
Support for Darwin platform in RaiseAsm pass
2016-11-03Adds support for Darwin platform in RaiseAsm passAndrea Mattavelli
2016-11-02Merge pull request #487 from hoangmle/masterCristian Cadar
Upgraded to boolector-2.2.0 and some cleanup and refactoring of the metaSMT support.
2016-10-27apply clang-formatHoang M. Le
2016-10-27update commentsHoang M. Le
2016-10-27upgrade to boolector-2.2.0 & remove the no longer needed aux array vectorHoang M. Le
2016-10-26move the query creation part into runAndGetCex() (to be consistent with ↵Hoang M. Le
runAndGetCexForked())
2016-10-26change signature of runAndGetCex() to match runAndGetCexForked()Hoang M. Le
2016-10-26remove outdated FIXME (metaSMT-Z3 implements assumption via push/pop)Hoang M. Le
2016-10-18Merge pull request #484 from delcypher/fix_misleading_indentationCristian Cadar
Fix `-Wmisleading-indentation` warning and also correctly set the `dirty` flag
2016-10-18Fix `-Wmisleading-indentation` warning and also correctly set theDan Liew
`dirty` flag if we remove `llvm.trap` from the module.
2016-10-14Use newer trusty-based Travis CI (#452)MartinNowack
2016-10-02Merge pull request #475 from delcypher/klee_fix_asanCristian Cadar
Don't build KLEE's runtime with any sanitizers.
2016-10-01Merge pull request #426 from hoangmle/metaSMT_remove_ITE_chain_for_shiftMartinNowack
remove mimic_stp option and the associated ITE chain construction for variable shift operations
2016-09-29When building KLEE with the sanitizers make sure the runtime is notDan Liew
built with them because KLEE can't handle this.
2016-09-29Fix bug in `AssignmentEvaluator` where NotOptimizedExpr would not (#466)Dan Liew
* Add unittest to check that the `Assignment` class can evaluate expressions containing a `NotOptimizedExpr`. * Fix the `AssignmentTest.FoldNotOptimized` unit test by teaching the `ExprEvaluator` to fold `NotOptimizedExpr` nodes.
2016-09-29Merge pull request #474 from jirislaby/timestampCristian Cadar
configure: add option to enable timestamping and disabled it by default
2016-09-29remove mimic_stp option and the associated ITE chain construction for shift ↵Hoang M. Le
operators
2016-09-29configure: run AutoRegen.shJiri Slaby
The previous change altered .ac files, regenerate the scripts. Signed-off-by: Jiri Slaby <jslaby@suse.cz>
2016-09-29configure: add option to enable timestampingJiri Slaby
It is pain for build systems to see __DATE__ or __TIME__ in sources as the build is not reproducible. So disable the timestamping by default and add an option to enable it if somebody is really after it. Signed-off-by: Jiri Slaby <jslaby@suse.cz>
2016-09-29Merge pull request #471 from domainexpert/argv-argAndrea Mattavelli
Fixed the description of -posix-runtime option
2016-09-29Fixed the description of -posix-runtime optionAndrew Santosa
In the description, --sym-argv and --sym-argvs should have instead been --sym-arg and --sym-args
2016-09-26Merge pull request #444 from andreamattavelli/refactor_warningsMartinNowack
Refactoring logging information
2016-09-26Modified logging information to steer the usage of klee_message, ↵Andrea Mattavelli
klee_warning, and klee_error
2016-09-20Merge pull request #443 from MartinNowack/feat_assembler_raisingCristian Cadar
Extended support for assembler raising