mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
newlibc:skip asan check.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
|
||||
#ifndef CONFIG_LIBC_ARCH_STPCPY
|
||||
#undef stpcpy /* See mm/README.txt */
|
||||
nosanitize_address
|
||||
FAR char *stpcpy(FAR char *dest, FAR const char *src)
|
||||
{
|
||||
#ifdef CONFIG_LIBC_STRING_OPTIMIZE
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
|
||||
#if !defined(CONFIG_LIBC_ARCH_STRCAT) && defined(LIBC_BUILD_STRCAT)
|
||||
#undef strcat /* See mm/README.txt */
|
||||
nosanitize_address
|
||||
FAR char *strcat(FAR char *dest, FAR const char *src)
|
||||
{
|
||||
#ifdef CONFIG_LIBC_STRING_OPTIMIZE
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
|
||||
#if !defined(CONFIG_LIBC_ARCH_STRCHR) && defined(LIBC_BUILD_STRCHR)
|
||||
#undef strchr /* See mm/README.txt */
|
||||
nosanitize_address
|
||||
FAR char *strchr(FAR const char *s, int c)
|
||||
{
|
||||
#ifdef CONFIG_LIBC_STRING_OPTIMIZE
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
|
||||
#if !defined(CONFIG_LIBC_ARCH_STRCMP) && defined(LIBC_BUILD_STRCMP)
|
||||
#undef strcmp /* See mm/README.txt */
|
||||
nosanitize_address
|
||||
int strcmp(FAR const char *cs, FAR const char *ct)
|
||||
{
|
||||
#ifdef CONFIG_LIBC_STRING_OPTIMIZE
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
|
||||
#if !defined(CONFIG_LIBC_ARCH_STRCPY) && defined(LIBC_BUILD_STRCPY)
|
||||
#undef strcpy /* See mm/README.txt */
|
||||
nosanitize_address
|
||||
FAR char *strcpy(FAR char *dest, FAR const char *src)
|
||||
{
|
||||
#ifdef CONFIG_LIBC_STRING_OPTIMIZE
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
|
||||
#if !defined(CONFIG_LIBC_ARCH_STRLEN) && defined(LIBC_BUILD_STRLEN)
|
||||
#undef strlen /* See mm/README.txt */
|
||||
nosanitize_address
|
||||
size_t strlen(FAR const char *s)
|
||||
{
|
||||
#ifdef CONFIG_LIBC_STRING_OPTIMIZE
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
|
||||
#if !defined(CONFIG_LIBC_ARCH_STRNCMP) && defined(LIBC_BUILD_STRNCMP)
|
||||
#undef strncmp /* See mm/README.txt */
|
||||
nosanitize_address
|
||||
int strncmp(FAR const char *cs, FAR const char *ct, size_t nb)
|
||||
{
|
||||
#ifdef CONFIG_LIBC_STRING_OPTIMIZE
|
||||
|
||||
@@ -84,6 +84,7 @@
|
||||
|
||||
#if !defined(CONFIG_LIBC_ARCH_STRNCPY) && defined(LIBC_BUILD_STRNCPY)
|
||||
#undef strncpy /* See mm/README.txt */
|
||||
nosanitize_address
|
||||
FAR char *strncpy(FAR char *dest, FAR const char *src, size_t n)
|
||||
{
|
||||
#ifdef CONFIG_LIBC_STRING_OPTIMIZE
|
||||
|
||||
Reference in New Issue
Block a user