mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +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,
|
int backtrace_format(FAR char *buffer, int size,
|
||||||
FAR void *backtrace[], int depth)
|
FAR void *backtrace[], int depth)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user