Skip to content

Commit c113a22

Browse files
yangguangcai1xiaoxiang781216
authored andcommitted
newlibc:skip asan check.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
1 parent 6e87f11 commit c113a22

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

libs/libc/string/lib_stpcpy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969

7070
#ifndef CONFIG_LIBC_ARCH_STPCPY
7171
#undef stpcpy /* See mm/README.txt */
72+
nosanitize_address
7273
FAR char *stpcpy(FAR char *dest, FAR const char *src)
7374
{
7475
#ifdef CONFIG_LIBC_STRING_OPTIMIZE

libs/libc/string/lib_strcat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757

5858
#if !defined(CONFIG_LIBC_ARCH_STRCAT) && defined(LIBC_BUILD_STRCAT)
5959
#undef strcat /* See mm/README.txt */
60+
nosanitize_address
6061
FAR char *strcat(FAR char *dest, FAR const char *src)
6162
{
6263
#ifdef CONFIG_LIBC_STRING_OPTIMIZE

libs/libc/string/lib_strchr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676

7777
#if !defined(CONFIG_LIBC_ARCH_STRCHR) && defined(LIBC_BUILD_STRCHR)
7878
#undef strchr /* See mm/README.txt */
79+
nosanitize_address
7980
FAR char *strchr(FAR const char *s, int c)
8081
{
8182
#ifdef CONFIG_LIBC_STRING_OPTIMIZE

libs/libc/string/lib_strcmp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858

5959
#if !defined(CONFIG_LIBC_ARCH_STRCMP) && defined(LIBC_BUILD_STRCMP)
6060
#undef strcmp /* See mm/README.txt */
61+
nosanitize_address
6162
int strcmp(FAR const char *cs, FAR const char *ct)
6263
{
6364
#ifdef CONFIG_LIBC_STRING_OPTIMIZE

libs/libc/string/lib_strcpy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070

7171
#if !defined(CONFIG_LIBC_ARCH_STRCPY) && defined(LIBC_BUILD_STRCPY)
7272
#undef strcpy /* See mm/README.txt */
73+
nosanitize_address
7374
FAR char *strcpy(FAR char *dest, FAR const char *src)
7475
{
7576
#ifdef CONFIG_LIBC_STRING_OPTIMIZE

libs/libc/string/lib_strlen.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757

5858
#if !defined(CONFIG_LIBC_ARCH_STRLEN) && defined(LIBC_BUILD_STRLEN)
5959
#undef strlen /* See mm/README.txt */
60+
nosanitize_address
6061
size_t strlen(FAR const char *s)
6162
{
6263
#ifdef CONFIG_LIBC_STRING_OPTIMIZE

libs/libc/string/lib_strncmp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161

6262
#if !defined(CONFIG_LIBC_ARCH_STRNCMP) && defined(LIBC_BUILD_STRNCMP)
6363
#undef strncmp /* See mm/README.txt */
64+
nosanitize_address
6465
int strncmp(FAR const char *cs, FAR const char *ct, size_t nb)
6566
{
6667
#ifdef CONFIG_LIBC_STRING_OPTIMIZE

libs/libc/string/lib_strncpy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484

8585
#if !defined(CONFIG_LIBC_ARCH_STRNCPY) && defined(LIBC_BUILD_STRNCPY)
8686
#undef strncpy /* See mm/README.txt */
87+
nosanitize_address
8788
FAR char *strncpy(FAR char *dest, FAR const char *src, size_t n)
8889
{
8990
#ifdef CONFIG_LIBC_STRING_OPTIMIZE

0 commit comments

Comments
 (0)