• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1config KERNEL_LMS
2    bool "Enable Lite Memory Sanitizer"
3    default n
4    depends on KERNEL_EXTKERNEL && DEBUG_VERSION && LIB_LIBC
5    help
6      Select y to build LiteOS with memory sanitizer.
7
8config LMS_MAX_RECORD_POOL_NUM
9    int "Lms check pool max num"
10    default 50
11    depends on KERNEL_LMS
12    help
13      The Max num of lms check pool
14
15config LMS_LOAD_CHECK
16    bool "Enable lms read check"
17    default y
18    depends on KERNEL_LMS
19    help
20      Select y to enable read check.
21
22config LMS_STORE_CHECK
23    bool "Enable lms write check"
24    default y
25    depends on KERNEL_LMS
26    help
27      Select y to enable write check.
28
29config LMS_CHECK_STRICT
30    bool "Enable lms strict check, byte-by-byte"
31    default n
32    depends on KERNEL_LMS
33    help
34      Select y to enable byte-by-byte check in lms
35
36config LMS_LIBC_FULL_CHECK
37   bool "Enable libc all function do lms check"
38   default n
39   depends on KERNEL_LMS
40   help
41     Select y to enable libc full check
42