mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
libc/misc: do not sanitize backtrace_format
We could call backtrace from mm module and access to kasan protected mm_node.backtrace field. Disable kasan check for backtrace_format. Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
This commit is contained in:
@@ -459,6 +459,7 @@ void backtrace_symbols_fd(FAR void *const *buffer, int size, int fd)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
nosanitize_address
|
||||
int backtrace_format(FAR char *buffer, int size,
|
||||
FAR void *backtrace[], int depth)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user