nuttx-apps/system/lsan/Kconfig
ligd c4f3f05bfa lsan: add system cmd lsan support
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>
2024-10-11 19:39:42 +08:00

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