mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
mm/kasan: Kasan global support setting alignment length
1. Similar to asan, supports single byte out of bounds detection 2. Fix the script to address the issue of not supporting the big end Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
0d8b6de03a
commit
469418f3c9
@@ -341,6 +341,14 @@ config MM_KASAN_GLOBAL
|
||||
KEEP ( *(. data. rel. local.. LASAN0))
|
||||
}", used to extract data generated by the compiler
|
||||
|
||||
if MM_KASAN_GLOBAL
|
||||
|
||||
config MM_KASAN_GLOBAL_ALIGN
|
||||
int "KASan global alignment"
|
||||
default 32
|
||||
|
||||
endif # MM_KASAN_GLOBAL
|
||||
|
||||
config MM_KASAN_DISABLE_READ_PANIC
|
||||
bool "Disable panic on kasan read error"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user