mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
The Alsans support for the LeakSanitizer (lsan) memory leak detection tool. ref: https://github.com/gcc-mirror/gcc/blob/master/libsanitizer/include/sanitizer/lsan_interface.h This tool used for runtime check memleak on the SIM platfrom. Signed-off-by: ligd <liguiding1@xiaomi.com>
30 lines
657 B
Text
30 lines
657 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config SYSTEM_LSAN
|
|
bool "lsan memory leak detection"
|
|
default y
|
|
depends on SIM_ASAN
|
|
---help---
|
|
Alsans support for the LeakSanitizer (lsan) memory leak detection tool.
|
|
|
|
if SYSTEM_LSAN
|
|
|
|
config SYSTEM_LSAN_PROGNAME
|
|
string "lsan program name"
|
|
default "lsan"
|
|
---help---
|
|
This is the name of the program that will be used when the lsan
|
|
program is installed.
|
|
|
|
config SYSTEM_LSAN_PRIORITY
|
|
int "lsan task priority"
|
|
default 100
|
|
|
|
config SYSTEM_LSAN_STACKSIZE
|
|
int "lsan stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
endif
|