diffblue-cbmc/unit
Hannes Steffenhagen 856aa5c201 Make memory analyzer optional
We were doing this in multiple places, this should make it a bit easier to keep
set properties consistent among different places.

Ideally we could eventually move away from mentioning targets from modules here
on the top level (and instead have each module call cprover_default_properties)
but this isn't done in this commit.

Because memory analyzer depends on GDB being present and further uses platform
specific functionality at the moment it had some ifdef functionality to disable
itself.

This made the code a bit more complicated than it needed to be, and also lead to
the code effectively building defunct executables. This removes these ifdefs and
instead excludes memory-analyzer (and related tests) from the build unless
requested (via WITH_MEMORY_ANALYZER environment variable or CMake option
depending on whether it is a Make or CMake build respectively).

Also force building memory-analyzer on Linux and test it there by
default (unless explicitly unset). Behaviour on other platforms should be
preserved.
2019-05-16 11:56:04 +01:00
..
analyses Do not use has_prefix in source_location.h 2019-02-21 09:57:17 +00:00
big-int CATCH: silence Visual Studio warnings 2019-01-21 20:49:28 +00:00
catch Use .clang-format-ignore 2019-01-29 09:43:59 +00:00
goto-instrument/cover Store "is hidden" attribute of goto functions in the symbol table 2019-03-04 10:22:10 +00:00
goto-programs Unify the remove-returns query 2019-05-14 11:25:37 +01:00
goto-symex goto-symex-is-constant: treat `x * sizeof(t)` and `sizeof(t) * x` alike 2019-04-29 13:38:17 +01:00
interpreter CATCH: silence Visual Studio warnings 2019-01-21 20:49:28 +00:00
json Add support for whole BMP in the JSON parser 2019-05-02 10:37:30 +01:00
memory-analyzer Make memory analyzer optional 2019-05-16 11:56:04 +01:00
pointer-analysis CATCH: silence Visual Studio warnings 2019-01-21 20:49:28 +00:00
solvers Remove redundant string initialisation 2019-04-30 22:30:57 +00:00
testing-utils numeric_cast_v(expr) now requires constant_expr 2019-02-17 16:27:44 +00:00
util Fix simplification of pointer-object comparison 2019-05-12 17:45:26 +00:00
.gitignore Move miniBDD catch-style unit test to proper folder and include in Makefile 2018-09-18 09:23:44 +00:00
CMakeLists.txt Make memory analyzer optional 2019-05-16 11:56:04 +01:00
Makefile Make memory analyzer optional 2019-05-16 11:56:04 +01:00
compound_block_locations.cpp config.main is now optionalt<string> 2019-04-30 14:47:25 +01:00
compound_block_locations.h Locations added to ifthenelse in goto_program2code 2018-11-09 12:04:33 +00:00
cpp_parser.cpp Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
cpp_scanner.cpp Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
elf_reader.cpp Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
ieee_float.cpp first pass cpplint fixes in unit 2017-04-10 17:14:17 +01:00
json.cpp Normalise newlines at ends of files 2016-11-29 09:59:31 +00:00
json_symbol_table.cpp Remove redundant string initialisation 2019-04-30 22:30:57 +00:00
module_dependencies.txt Enable and update gdb api unit tests 2019-03-19 15:52:32 +00:00
osx_fat_reader.cpp Moved unit tests to separate directory 2016-02-16 13:00:54 +00:00
path_strategies.cpp config.main is now optionalt<string> 2019-04-30 14:47:25 +01:00
path_strategies.h Fix path explorer unit test 2019-03-21 09:57:38 +00:00
smt2_parser.cpp Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
unit_tests.cpp CATCH: silence Visual Studio warnings 2019-01-21 20:49:28 +00:00
wp.cpp Replace copyright notice with author entry 2018-03-09 16:02:09 +01:00
wp_in1.c Moved unit tests to separate directory 2016-02-16 13:00:54 +00:00