Skip to content

Commit

Permalink
newlibc:skip asan check.
Browse files Browse the repository at this point in the history
VELAPLATFO-25958

Change-Id: I26b507510694d79bab0dc4563e91a846b2c62069
Signed-off-by: yangguangcai <[email protected]>
  • Loading branch information
yangguangcai1 committed Aug 26, 2024
1 parent 260d815 commit 3406c3e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions libs/libc/string/lib_stpcpy.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@

#ifndef CONFIG_LIBC_ARCH_STPCPY
#undef stpcpy /* See mm/README.txt */
nosanitize_address
FAR char *stpcpy(FAR char *dest, FAR const char *src)
{
FAR long *aligned_dst;
Expand Down
1 change: 1 addition & 0 deletions libs/libc/string/lib_strcat.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,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)
{
FAR char *ret = dest;
Expand Down
1 change: 1 addition & 0 deletions libs/libc/string/lib_strchr.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,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)
{
FAR const unsigned char *s1 = (FAR const unsigned char *)s;
Expand Down
1 change: 1 addition & 0 deletions libs/libc/string/lib_strcmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,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)
{
FAR unsigned long *a1;
Expand Down
1 change: 1 addition & 0 deletions libs/libc/string/lib_strcpy.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,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)
{
FAR char *dst0 = dest;
Expand Down
1 change: 1 addition & 0 deletions libs/libc/string/lib_strlen.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,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)
{
FAR const char *start = s;
Expand Down
1 change: 1 addition & 0 deletions libs/libc/string/lib_strncmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,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)
{
FAR unsigned long *a1;
Expand Down
1 change: 1 addition & 0 deletions libs/libc/string/lib_strncpy.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,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)
{
FAR char *dst0 = dest;
Expand Down

0 comments on commit 3406c3e

Please sign in to comment.