bda69bf4e4
Add the duma memory debugging library. This is based on an earlier patch by Baruch Siach, with minor changes to build for latest buildroot sources. [Thomas P: misc cleanups, drop non-C++ support as it wasn't compiling, added thread dependency.] Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
553 B
Plaintext
21 lines
553 B
Plaintext
config BR2_PACKAGE_DUMA
|
|
bool "duma"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
help
|
|
D.U.M.A. - Detect Unintended Memory Access. A fork of the
|
|
Electric Fence library. Detects buffer overflow and
|
|
underflow, and also memory leaks.
|
|
|
|
http://duma.sourceforge.net
|
|
|
|
if BR2_PACKAGE_DUMA
|
|
|
|
config BR2_PACKAGE_DUMA_NO_LEAKDETECTION
|
|
bool "disable memory leak detection"
|
|
|
|
endif # BR2_PACKAGE_DUMA
|
|
|
|
comment "duma requires C++ and thread support in toolchain"
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|