llvm/compiler-rt/lib/hwasan/hwasan_platform_interceptors.h

#ifndef HWASAN_PLATFORM_INTERCEPTORS_H
#define HWASAN_PLATFORM_INTERCEPTORS_H

#include "sanitizer_common/sanitizer_platform_interceptors.h"

// This file cancels out most of the sanitizer_common interception, thus
// allowing HWASan to selectively reuse some of the interceptors.
//
// To re-enable sanitizer_common's interception of a function, comment out
// the corresponding '#undef SANITIZER_INTERCEPT_fn' and
// '#define SANITIZER_INTERCEPT_fn 0':
// - We prefer to comment out rather than delete the lines, to show that
//   it is deliberate, rather than an accidental omission.
// - We do not use '#define SANITIZE_INTERCEPT_fn 1', because
//   interception is usually conditional (e.g., based on SI_POSIX); we let
//   the condition in sanitizers_platform_interceptors.h take effect.

// Originally generated with:
//     cat ../sanitizer_common/sanitizer_platform_interceptors.h  | grep '^#define SANITIZER_INTERCEPT' | cut -d ' ' -f 2 | while read x; do echo "#undef $x"; echo "#define $x 0"; echo; done
#undef SANITIZER_INTERCEPT_STRLEN
#define SANITIZER_INTERCEPT_STRLEN

#undef SANITIZER_INTERCEPT_STRNLEN
#define SANITIZER_INTERCEPT_STRNLEN

#undef SANITIZER_INTERCEPT_STRCMP
#define SANITIZER_INTERCEPT_STRCMP

#undef SANITIZER_INTERCEPT_STRSTR
#define SANITIZER_INTERCEPT_STRSTR

#undef SANITIZER_INTERCEPT_STRCASESTR
#define SANITIZER_INTERCEPT_STRCASESTR

#undef SANITIZER_INTERCEPT_STRTOK
#define SANITIZER_INTERCEPT_STRTOK

#undef SANITIZER_INTERCEPT_STRCHR
#define SANITIZER_INTERCEPT_STRCHR

#undef SANITIZER_INTERCEPT_STRCHRNUL
#define SANITIZER_INTERCEPT_STRCHRNUL

#undef SANITIZER_INTERCEPT_STRRCHR
#define SANITIZER_INTERCEPT_STRRCHR

#undef SANITIZER_INTERCEPT_STRSPN
#define SANITIZER_INTERCEPT_STRSPN

#undef SANITIZER_INTERCEPT_STRPBRK
#define SANITIZER_INTERCEPT_STRPBRK

#undef SANITIZER_INTERCEPT_TEXTDOMAIN
#define SANITIZER_INTERCEPT_TEXTDOMAIN

#undef SANITIZER_INTERCEPT_STRCASECMP
#define SANITIZER_INTERCEPT_STRCASECMP

// #undef SANITIZER_INTERCEPT_MEMSET
// #define SANITIZER_INTERCEPT_MEMSET 0

// #undef SANITIZER_INTERCEPT_MEMMOVE
// #define SANITIZER_INTERCEPT_MEMMOVE 0

// #undef SANITIZER_INTERCEPT_MEMCPY
// #define SANITIZER_INTERCEPT_MEMCPY 0

// #undef SANITIZER_INTERCEPT_MEMCMP
// #define SANITIZER_INTERCEPT_MEMCMP 0

// #undef SANITIZER_INTERCEPT_BCMP
// #define SANITIZER_INTERCEPT_BCMP 0

#undef SANITIZER_INTERCEPT_STRNDUP
#define SANITIZER_INTERCEPT_STRNDUP

#undef SANITIZER_INTERCEPT___STRNDUP
#define SANITIZER_INTERCEPT___STRNDUP

#undef SANITIZER_INTERCEPT_MEMMEM
#define SANITIZER_INTERCEPT_MEMMEM

#undef SANITIZER_INTERCEPT_MEMCHR
#define SANITIZER_INTERCEPT_MEMCHR

#undef SANITIZER_INTERCEPT_MEMRCHR
#define SANITIZER_INTERCEPT_MEMRCHR

#undef SANITIZER_INTERCEPT_READ
#define SANITIZER_INTERCEPT_READ

#undef SANITIZER_INTERCEPT_PREAD
#define SANITIZER_INTERCEPT_PREAD

#undef SANITIZER_INTERCEPT_WRITE
#define SANITIZER_INTERCEPT_WRITE

#undef SANITIZER_INTERCEPT_PWRITE
#define SANITIZER_INTERCEPT_PWRITE

#undef SANITIZER_INTERCEPT_FREAD
#define SANITIZER_INTERCEPT_FREAD

#undef SANITIZER_INTERCEPT_FWRITE
#define SANITIZER_INTERCEPT_FWRITE

#undef SANITIZER_INTERCEPT_FGETS
#define SANITIZER_INTERCEPT_FGETS

#undef SANITIZER_INTERCEPT_FPUTS
#define SANITIZER_INTERCEPT_FPUTS

#undef SANITIZER_INTERCEPT_PUTS
#define SANITIZER_INTERCEPT_PUTS

#undef SANITIZER_INTERCEPT_PREAD64
#define SANITIZER_INTERCEPT_PREAD64

#undef SANITIZER_INTERCEPT_PWRITE64
#define SANITIZER_INTERCEPT_PWRITE64

#undef SANITIZER_INTERCEPT_READV
#define SANITIZER_INTERCEPT_READV

#undef SANITIZER_INTERCEPT_WRITEV
#define SANITIZER_INTERCEPT_WRITEV

#undef SANITIZER_INTERCEPT_PREADV
#define SANITIZER_INTERCEPT_PREADV

#undef SANITIZER_INTERCEPT_PWRITEV
#define SANITIZER_INTERCEPT_PWRITEV

#undef SANITIZER_INTERCEPT_PREADV64
#define SANITIZER_INTERCEPT_PREADV64

#undef SANITIZER_INTERCEPT_PWRITEV64
#define SANITIZER_INTERCEPT_PWRITEV64

#undef SANITIZER_INTERCEPT_PRCTL
#define SANITIZER_INTERCEPT_PRCTL

#undef SANITIZER_INTERCEPT_LOCALTIME_AND_FRIENDS
#define SANITIZER_INTERCEPT_LOCALTIME_AND_FRIENDS

#undef SANITIZER_INTERCEPT_STRPTIME
#define SANITIZER_INTERCEPT_STRPTIME

#undef SANITIZER_INTERCEPT_SCANF
#define SANITIZER_INTERCEPT_SCANF

#undef SANITIZER_INTERCEPT_ISOC99_SCANF
#define SANITIZER_INTERCEPT_ISOC99_SCANF

#undef SANITIZER_INTERCEPT_PRINTF
#define SANITIZER_INTERCEPT_PRINTF

#undef SANITIZER_INTERCEPT_PRINTF_L
#define SANITIZER_INTERCEPT_PRINTF_L

#undef SANITIZER_INTERCEPT_ISOC99_PRINTF
#define SANITIZER_INTERCEPT_ISOC99_PRINTF

#undef SANITIZER_INTERCEPT___PRINTF_CHK
#define SANITIZER_INTERCEPT___PRINTF_CHK

#undef SANITIZER_INTERCEPT_FREXP
#define SANITIZER_INTERCEPT_FREXP

#undef SANITIZER_INTERCEPT_FREXPF_FREXPL
#define SANITIZER_INTERCEPT_FREXPF_FREXPL

#undef SANITIZER_INTERCEPT_GETPWNAM_AND_FRIENDS
#define SANITIZER_INTERCEPT_GETPWNAM_AND_FRIENDS

#undef SANITIZER_INTERCEPT_GETPWNAM_R_AND_FRIENDS
#define SANITIZER_INTERCEPT_GETPWNAM_R_AND_FRIENDS

#undef SANITIZER_INTERCEPT_GETPWENT
#define SANITIZER_INTERCEPT_GETPWENT

#undef SANITIZER_INTERCEPT_FGETGRENT_R
#define SANITIZER_INTERCEPT_FGETGRENT_R

#undef SANITIZER_INTERCEPT_FGETPWENT
#define SANITIZER_INTERCEPT_FGETPWENT

#undef SANITIZER_INTERCEPT_GETPWENT_R
#define SANITIZER_INTERCEPT_GETPWENT_R

#undef SANITIZER_INTERCEPT_FGETPWENT_R
#define SANITIZER_INTERCEPT_FGETPWENT_R

#undef SANITIZER_INTERCEPT_SETPWENT
#define SANITIZER_INTERCEPT_SETPWENT

#undef SANITIZER_INTERCEPT_CLOCK_GETTIME
#define SANITIZER_INTERCEPT_CLOCK_GETTIME

#undef SANITIZER_INTERCEPT_CLOCK_GETCPUCLOCKID
#define SANITIZER_INTERCEPT_CLOCK_GETCPUCLOCKID

#undef SANITIZER_INTERCEPT_GETITIMER
#define SANITIZER_INTERCEPT_GETITIMER

#undef SANITIZER_INTERCEPT_TIME
#define SANITIZER_INTERCEPT_TIME

#undef SANITIZER_INTERCEPT_GLOB
#define SANITIZER_INTERCEPT_GLOB

#undef SANITIZER_INTERCEPT_GLOB64
#define SANITIZER_INTERCEPT_GLOB64

#undef SANITIZER_INTERCEPT___B64_TO
#define SANITIZER_INTERCEPT___B64_TO

#undef SANITIZER_INTERCEPT_DN_COMP_EXPAND
#define SANITIZER_INTERCEPT_DN_COMP_EXPAND

#undef SANITIZER_INTERCEPT_POSIX_SPAWN
#define SANITIZER_INTERCEPT_POSIX_SPAWN

#undef SANITIZER_INTERCEPT_WAIT
#define SANITIZER_INTERCEPT_WAIT

#undef SANITIZER_INTERCEPT_INET
#define SANITIZER_INTERCEPT_INET

#undef SANITIZER_INTERCEPT_PTHREAD_GETSCHEDPARAM
#define SANITIZER_INTERCEPT_PTHREAD_GETSCHEDPARAM

#undef SANITIZER_INTERCEPT_GETADDRINFO
#define SANITIZER_INTERCEPT_GETADDRINFO

#undef SANITIZER_INTERCEPT_GETNAMEINFO
#define SANITIZER_INTERCEPT_GETNAMEINFO

#undef SANITIZER_INTERCEPT_GETSOCKNAME
#define SANITIZER_INTERCEPT_GETSOCKNAME

#undef SANITIZER_INTERCEPT_GETHOSTBYNAME
#define SANITIZER_INTERCEPT_GETHOSTBYNAME

#undef SANITIZER_INTERCEPT_GETHOSTBYNAME2
#define SANITIZER_INTERCEPT_GETHOSTBYNAME2

#undef SANITIZER_INTERCEPT_GETHOSTBYNAME_R
#define SANITIZER_INTERCEPT_GETHOSTBYNAME_R

#undef SANITIZER_INTERCEPT_GETHOSTBYNAME2_R
#define SANITIZER_INTERCEPT_GETHOSTBYNAME2_R

#undef SANITIZER_INTERCEPT_GETHOSTBYADDR_R
#define SANITIZER_INTERCEPT_GETHOSTBYADDR_R

#undef SANITIZER_INTERCEPT_GETHOSTENT_R
#define SANITIZER_INTERCEPT_GETHOSTENT_R

#undef SANITIZER_INTERCEPT_GETSOCKOPT
#define SANITIZER_INTERCEPT_GETSOCKOPT

#undef SANITIZER_INTERCEPT_ACCEPT
#define SANITIZER_INTERCEPT_ACCEPT

#undef SANITIZER_INTERCEPT_ACCEPT4
#define SANITIZER_INTERCEPT_ACCEPT4

#undef SANITIZER_INTERCEPT_PACCEPT
#define SANITIZER_INTERCEPT_PACCEPT

#undef SANITIZER_INTERCEPT_MODF
#define SANITIZER_INTERCEPT_MODF

#undef SANITIZER_INTERCEPT_RECVMSG
#define SANITIZER_INTERCEPT_RECVMSG

#undef SANITIZER_INTERCEPT_SENDMSG
#define SANITIZER_INTERCEPT_SENDMSG

#undef SANITIZER_INTERCEPT_RECVMMSG
#define SANITIZER_INTERCEPT_RECVMMSG

#undef SANITIZER_INTERCEPT_SENDMMSG
#define SANITIZER_INTERCEPT_SENDMMSG

#undef SANITIZER_INTERCEPT_SYSMSG
#define SANITIZER_INTERCEPT_SYSMSG

#undef SANITIZER_INTERCEPT_GETPEERNAME
#define SANITIZER_INTERCEPT_GETPEERNAME

#undef SANITIZER_INTERCEPT_IOCTL
#define SANITIZER_INTERCEPT_IOCTL

#undef SANITIZER_INTERCEPT_INET_ATON
#define SANITIZER_INTERCEPT_INET_ATON

#undef SANITIZER_INTERCEPT_SYSINFO
#define SANITIZER_INTERCEPT_SYSINFO

#undef SANITIZER_INTERCEPT_READDIR
#define SANITIZER_INTERCEPT_READDIR

#undef SANITIZER_INTERCEPT_READDIR64
#define SANITIZER_INTERCEPT_READDIR64

#undef SANITIZER_INTERCEPT_PTRACE
#define SANITIZER_INTERCEPT_PTRACE

#undef SANITIZER_INTERCEPT_PTRACE
#define SANITIZER_INTERCEPT_PTRACE

#undef SANITIZER_INTERCEPT_SETLOCALE
#define SANITIZER_INTERCEPT_SETLOCALE

#undef SANITIZER_INTERCEPT_GETCWD
#define SANITIZER_INTERCEPT_GETCWD

#undef SANITIZER_INTERCEPT_GET_CURRENT_DIR_NAME
#define SANITIZER_INTERCEPT_GET_CURRENT_DIR_NAME

#undef SANITIZER_INTERCEPT_STRTOIMAX
#define SANITIZER_INTERCEPT_STRTOIMAX

#undef SANITIZER_INTERCEPT_MBSTOWCS
#define SANITIZER_INTERCEPT_MBSTOWCS

#undef SANITIZER_INTERCEPT_MBSNRTOWCS
#define SANITIZER_INTERCEPT_MBSNRTOWCS

#undef SANITIZER_INTERCEPT_WCSTOMBS
#define SANITIZER_INTERCEPT_WCSTOMBS

#undef SANITIZER_INTERCEPT_STRXFRM
#define SANITIZER_INTERCEPT_STRXFRM

#undef SANITIZER_INTERCEPT___STRXFRM_L
#define SANITIZER_INTERCEPT___STRXFRM_L

#undef SANITIZER_INTERCEPT_WCSXFRM
#define SANITIZER_INTERCEPT_WCSXFRM

#undef SANITIZER_INTERCEPT___WCSXFRM_L
#define SANITIZER_INTERCEPT___WCSXFRM_L

#undef SANITIZER_INTERCEPT_WCSNRTOMBS
#define SANITIZER_INTERCEPT_WCSNRTOMBS

#undef SANITIZER_INTERCEPT_WCRTOMB
#define SANITIZER_INTERCEPT_WCRTOMB

#undef SANITIZER_INTERCEPT_WCTOMB
#define SANITIZER_INTERCEPT_WCTOMB

#undef SANITIZER_INTERCEPT_TCGETATTR
#define SANITIZER_INTERCEPT_TCGETATTR

#undef SANITIZER_INTERCEPT_REALPATH
#define SANITIZER_INTERCEPT_REALPATH

#undef SANITIZER_INTERCEPT_CANONICALIZE_FILE_NAME
#define SANITIZER_INTERCEPT_CANONICALIZE_FILE_NAME

#undef SANITIZER_INTERCEPT_CONFSTR
#define SANITIZER_INTERCEPT_CONFSTR

#undef SANITIZER_INTERCEPT_SCHED_GETAFFINITY
#define SANITIZER_INTERCEPT_SCHED_GETAFFINITY

#undef SANITIZER_INTERCEPT_SCHED_GETPARAM
#define SANITIZER_INTERCEPT_SCHED_GETPARAM

#undef SANITIZER_INTERCEPT_STRERROR
#define SANITIZER_INTERCEPT_STRERROR

#undef SANITIZER_INTERCEPT_STRERROR_R
#define SANITIZER_INTERCEPT_STRERROR_R

#undef SANITIZER_INTERCEPT_XPG_STRERROR_R
#define SANITIZER_INTERCEPT_XPG_STRERROR_R

#undef SANITIZER_INTERCEPT_SCANDIR
#define SANITIZER_INTERCEPT_SCANDIR

#undef SANITIZER_INTERCEPT_SCANDIR64
#define SANITIZER_INTERCEPT_SCANDIR64

#undef SANITIZER_INTERCEPT_GETGROUPS
#define SANITIZER_INTERCEPT_GETGROUPS

#undef SANITIZER_INTERCEPT_POLL
#define SANITIZER_INTERCEPT_POLL

#undef SANITIZER_INTERCEPT_PPOLL
#define SANITIZER_INTERCEPT_PPOLL

#undef SANITIZER_INTERCEPT_WORDEXP
#define SANITIZER_INTERCEPT_WORDEXP

#undef SANITIZER_INTERCEPT_SIGWAIT
#define SANITIZER_INTERCEPT_SIGWAIT

#undef SANITIZER_INTERCEPT_SIGWAITINFO
#define SANITIZER_INTERCEPT_SIGWAITINFO

#undef SANITIZER_INTERCEPT_SIGTIMEDWAIT
#define SANITIZER_INTERCEPT_SIGTIMEDWAIT

#undef SANITIZER_INTERCEPT_SIGSETOPS
#define SANITIZER_INTERCEPT_SIGSETOPS

#undef SANITIZER_INTERCEPT_SIGSET_LOGICOPS
#define SANITIZER_INTERCEPT_SIGSET_LOGICOPS

#undef SANITIZER_INTERCEPT_SIGPENDING
#define SANITIZER_INTERCEPT_SIGPENDING

#undef SANITIZER_INTERCEPT_SIGPROCMASK
#define SANITIZER_INTERCEPT_SIGPROCMASK

#undef SANITIZER_INTERCEPT_PTHREAD_SIGMASK
#define SANITIZER_INTERCEPT_PTHREAD_SIGMASK

#undef SANITIZER_INTERCEPT_BACKTRACE
#define SANITIZER_INTERCEPT_BACKTRACE

#undef SANITIZER_INTERCEPT_GETMNTENT
#define SANITIZER_INTERCEPT_GETMNTENT

#undef SANITIZER_INTERCEPT_GETMNTENT_R
#define SANITIZER_INTERCEPT_GETMNTENT_R

#undef SANITIZER_INTERCEPT_STATFS
#define SANITIZER_INTERCEPT_STATFS

#undef SANITIZER_INTERCEPT_STATFS64
#define SANITIZER_INTERCEPT_STATFS64

#undef SANITIZER_INTERCEPT_STATVFS
#define SANITIZER_INTERCEPT_STATVFS

#undef SANITIZER_INTERCEPT_STATVFS64
#define SANITIZER_INTERCEPT_STATVFS64

#undef SANITIZER_INTERCEPT_INITGROUPS
#define SANITIZER_INTERCEPT_INITGROUPS

#undef SANITIZER_INTERCEPT_ETHER_NTOA_ATON
#define SANITIZER_INTERCEPT_ETHER_NTOA_ATON

#undef SANITIZER_INTERCEPT_ETHER_HOST
#define SANITIZER_INTERCEPT_ETHER_HOST

#undef SANITIZER_INTERCEPT_ETHER_R
#define SANITIZER_INTERCEPT_ETHER_R

#undef SANITIZER_INTERCEPT_SHMCTL
#define SANITIZER_INTERCEPT_SHMCTL

#undef SANITIZER_INTERCEPT_RANDOM_R
#define SANITIZER_INTERCEPT_RANDOM_R

#undef SANITIZER_INTERCEPT_PTHREAD_ATTR_GET
#define SANITIZER_INTERCEPT_PTHREAD_ATTR_GET

#undef SANITIZER_INTERCEPT_PTHREAD_ATTR_GETINHERITSCHED
#define SANITIZER_INTERCEPT_PTHREAD_ATTR_GETINHERITSCHED

#undef SANITIZER_INTERCEPT_PTHREAD_ATTR_GETAFFINITY_NP
#define SANITIZER_INTERCEPT_PTHREAD_ATTR_GETAFFINITY_NP

#undef SANITIZER_INTERCEPT_PTHREAD_GETAFFINITY_NP
#define SANITIZER_INTERCEPT_PTHREAD_GETAFFINITY_NP

#undef SANITIZER_INTERCEPT_PTHREAD_ATTR_GET_SCHED
#define SANITIZER_INTERCEPT_PTHREAD_ATTR_GET_SCHED

#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPSHARED
#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPSHARED

#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETTYPE
#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETTYPE

#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPROTOCOL
#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPROTOCOL

#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPRIOCEILING
#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPRIOCEILING

#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST
#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST

#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST_NP
#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST_NP

#undef SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GETPSHARED
#define SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GETPSHARED

#undef SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GETKIND_NP
#define SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GETKIND_NP

#undef SANITIZER_INTERCEPT_PTHREAD_CONDATTR_GETPSHARED
#define SANITIZER_INTERCEPT_PTHREAD_CONDATTR_GETPSHARED

#undef SANITIZER_INTERCEPT_PTHREAD_CONDATTR_GETCLOCK
#define SANITIZER_INTERCEPT_PTHREAD_CONDATTR_GETCLOCK

#undef SANITIZER_INTERCEPT_PTHREAD_BARRIERATTR_GETPSHARED
#define SANITIZER_INTERCEPT_PTHREAD_BARRIERATTR_GETPSHARED

#undef SANITIZER_INTERCEPT_TRYJOIN
#define SANITIZER_INTERCEPT_TRYJOIN

#undef SANITIZER_INTERCEPT_TIMEDJOIN
#define SANITIZER_INTERCEPT_TIMEDJOIN

#undef SANITIZER_INTERCEPT_THR_EXIT
#define SANITIZER_INTERCEPT_THR_EXIT

#undef SANITIZER_INTERCEPT_TMPNAM
#define SANITIZER_INTERCEPT_TMPNAM

#undef SANITIZER_INTERCEPT_TMPNAM_R
#define SANITIZER_INTERCEPT_TMPNAM_R

#undef SANITIZER_INTERCEPT_PTSNAME
#define SANITIZER_INTERCEPT_PTSNAME

#undef SANITIZER_INTERCEPT_PTSNAME_R
#define SANITIZER_INTERCEPT_PTSNAME_R

#undef SANITIZER_INTERCEPT_TTYNAME
#define SANITIZER_INTERCEPT_TTYNAME

#undef SANITIZER_INTERCEPT_TTYNAME_R
#define SANITIZER_INTERCEPT_TTYNAME_R

#undef SANITIZER_INTERCEPT_TEMPNAM
#define SANITIZER_INTERCEPT_TEMPNAM

#undef SANITIZER_INTERCEPT_SINCOS
#define SANITIZER_INTERCEPT_SINCOS

#undef SANITIZER_INTERCEPT_REMQUO
#define SANITIZER_INTERCEPT_REMQUO

#undef SANITIZER_INTERCEPT_REMQUOL
#define SANITIZER_INTERCEPT_REMQUOL

#undef SANITIZER_INTERCEPT_LGAMMA
#define SANITIZER_INTERCEPT_LGAMMA

#undef SANITIZER_INTERCEPT_LGAMMAL
#define SANITIZER_INTERCEPT_LGAMMAL

#undef SANITIZER_INTERCEPT_LGAMMA_R
#define SANITIZER_INTERCEPT_LGAMMA_R

#undef SANITIZER_INTERCEPT_LGAMMAL_R
#define SANITIZER_INTERCEPT_LGAMMAL_R

#undef SANITIZER_INTERCEPT_DRAND48_R
#define SANITIZER_INTERCEPT_DRAND48_R

#undef SANITIZER_INTERCEPT_RAND_R
#define SANITIZER_INTERCEPT_RAND_R

#undef SANITIZER_INTERCEPT_ICONV
#define SANITIZER_INTERCEPT_ICONV

#undef SANITIZER_INTERCEPT_TIMES
#define SANITIZER_INTERCEPT_TIMES

#undef SANITIZER_INTERCEPT_GETLINE
#define SANITIZER_INTERCEPT_GETLINE

#undef SANITIZER_INTERCEPT__EXIT
#define SANITIZER_INTERCEPT__EXIT

#undef SANITIZER_INTERCEPT___LIBC_MUTEX
#define SANITIZER_INTERCEPT___LIBC_MUTEX

#undef SANITIZER_INTERCEPT_PTHREAD_SETNAME_NP
#define SANITIZER_INTERCEPT_PTHREAD_SETNAME_NP

#undef SANITIZER_INTERCEPT_PTHREAD_GETNAME_NP
#define SANITIZER_INTERCEPT_PTHREAD_GETNAME_NP

#undef SANITIZER_INTERCEPT_TLS_GET_ADDR
#define SANITIZER_INTERCEPT_TLS_GET_ADDR

#undef SANITIZER_INTERCEPT_LISTXATTR
#define SANITIZER_INTERCEPT_LISTXATTR

#undef SANITIZER_INTERCEPT_GETXATTR
#define SANITIZER_INTERCEPT_GETXATTR

#undef SANITIZER_INTERCEPT_GETRESID
#define SANITIZER_INTERCEPT_GETRESID

#undef SANITIZER_INTERCEPT_GETIFADDRS
#define SANITIZER_INTERCEPT_GETIFADDRS

#undef SANITIZER_INTERCEPT_IF_INDEXTONAME
#define SANITIZER_INTERCEPT_IF_INDEXTONAME

#undef SANITIZER_INTERCEPT_CAPGET
#define SANITIZER_INTERCEPT_CAPGET

#undef SANITIZER_INTERCEPT_AEABI_MEM
#define SANITIZER_INTERCEPT_AEABI_MEM

#undef SANITIZER_INTERCEPT_AEABI_MEM
#define SANITIZER_INTERCEPT_AEABI_MEM

#undef SANITIZER_INTERCEPT___BZERO
#define SANITIZER_INTERCEPT___BZERO

#undef SANITIZER_INTERCEPT_BZERO
#define SANITIZER_INTERCEPT_BZERO

#undef SANITIZER_INTERCEPT_FTIME
#define SANITIZER_INTERCEPT_FTIME

#undef SANITIZER_INTERCEPT_XDR
#define SANITIZER_INTERCEPT_XDR

#undef SANITIZER_INTERCEPT_XDRREC
#define SANITIZER_INTERCEPT_XDRREC

#undef SANITIZER_INTERCEPT_TSEARCH
#define SANITIZER_INTERCEPT_TSEARCH

#undef SANITIZER_INTERCEPT_LIBIO_INTERNALS
#define SANITIZER_INTERCEPT_LIBIO_INTERNALS

#undef SANITIZER_INTERCEPT_FOPEN
#define SANITIZER_INTERCEPT_FOPEN

#undef SANITIZER_INTERCEPT_FOPEN64
#define SANITIZER_INTERCEPT_FOPEN64

#undef SANITIZER_INTERCEPT_OPEN_MEMSTREAM
#define SANITIZER_INTERCEPT_OPEN_MEMSTREAM

#undef SANITIZER_INTERCEPT_OBSTACK
#define SANITIZER_INTERCEPT_OBSTACK

#undef SANITIZER_INTERCEPT_FFLUSH
#define SANITIZER_INTERCEPT_FFLUSH

#undef SANITIZER_INTERCEPT_FCLOSE
#define SANITIZER_INTERCEPT_FCLOSE

#undef SANITIZER_INTERCEPT_DLOPEN_DLCLOSE
#define SANITIZER_INTERCEPT_DLOPEN_DLCLOSE

#undef SANITIZER_INTERCEPT_GETPASS
#define SANITIZER_INTERCEPT_GETPASS

#undef SANITIZER_INTERCEPT_TIMERFD
#define SANITIZER_INTERCEPT_TIMERFD

#undef SANITIZER_INTERCEPT_MLOCKX
#define SANITIZER_INTERCEPT_MLOCKX

#undef SANITIZER_INTERCEPT_FOPENCOOKIE
#define SANITIZER_INTERCEPT_FOPENCOOKIE

#undef SANITIZER_INTERCEPT_SEM
#define SANITIZER_INTERCEPT_SEM

#undef SANITIZER_INTERCEPT_PTHREAD_SETCANCEL
#define SANITIZER_INTERCEPT_PTHREAD_SETCANCEL

#undef SANITIZER_INTERCEPT_MINCORE
#define SANITIZER_INTERCEPT_MINCORE

#undef SANITIZER_INTERCEPT_PROCESS_VM_READV
#define SANITIZER_INTERCEPT_PROCESS_VM_READV

#undef SANITIZER_INTERCEPT_CTERMID
#define SANITIZER_INTERCEPT_CTERMID

#undef SANITIZER_INTERCEPT_CTERMID_R
#define SANITIZER_INTERCEPT_CTERMID_R

#undef SANITIZER_INTERCEPTOR_HOOKS
#define SANITIZER_INTERCEPTOR_HOOKS

#undef SANITIZER_INTERCEPT_RECV_RECVFROM
#define SANITIZER_INTERCEPT_RECV_RECVFROM

#undef SANITIZER_INTERCEPT_SEND_SENDTO
#define SANITIZER_INTERCEPT_SEND_SENDTO

#undef SANITIZER_INTERCEPT_EVENTFD_READ_WRITE
#define SANITIZER_INTERCEPT_EVENTFD_READ_WRITE

#undef SANITIZER_INTERCEPT_STAT
#define SANITIZER_INTERCEPT_STAT

#undef SANITIZER_INTERCEPT_STAT64
#define SANITIZER_INTERCEPT_STAT64

#undef SANITIZER_INTERCEPT_LSTAT
#define SANITIZER_INTERCEPT_LSTAT

#undef SANITIZER_INTERCEPT___XSTAT
#define SANITIZER_INTERCEPT___XSTAT

#undef SANITIZER_INTERCEPT___XSTAT64
#define SANITIZER_INTERCEPT___XSTAT64

#undef SANITIZER_INTERCEPT___LXSTAT
#define SANITIZER_INTERCEPT___LXSTAT

#undef SANITIZER_INTERCEPT___LXSTAT64
#define SANITIZER_INTERCEPT___LXSTAT64

#undef SANITIZER_INTERCEPT_UTMP
#define SANITIZER_INTERCEPT_UTMP

#undef SANITIZER_INTERCEPT_UTMPX
#define SANITIZER_INTERCEPT_UTMPX

#undef SANITIZER_INTERCEPT_GETLOADAVG
#define SANITIZER_INTERCEPT_GETLOADAVG

// #undef SANITIZER_INTERCEPT_MMAP
// #define SANITIZER_INTERCEPT_MMAP 0

#undef SANITIZER_INTERCEPT_MMAP64
#define SANITIZER_INTERCEPT_MMAP64

#undef SANITIZER_INTERCEPT_MALLOPT_AND_MALLINFO
#define SANITIZER_INTERCEPT_MALLOPT_AND_MALLINFO

#undef SANITIZER_INTERCEPT_MEMALIGN
#define SANITIZER_INTERCEPT_MEMALIGN

#undef SANITIZER_INTERCEPT___LIBC_MEMALIGN
#define SANITIZER_INTERCEPT___LIBC_MEMALIGN

#undef SANITIZER_INTERCEPT_PVALLOC
#define SANITIZER_INTERCEPT_PVALLOC

#undef SANITIZER_INTERCEPT_CFREE
#define SANITIZER_INTERCEPT_CFREE

#undef SANITIZER_INTERCEPT_REALLOCARRAY
#define SANITIZER_INTERCEPT_REALLOCARRAY

#undef SANITIZER_INTERCEPT_ALIGNED_ALLOC
#define SANITIZER_INTERCEPT_ALIGNED_ALLOC

#undef SANITIZER_INTERCEPT_MALLOC_USABLE_SIZE
#define SANITIZER_INTERCEPT_MALLOC_USABLE_SIZE

#undef SANITIZER_INTERCEPT_MCHECK_MPROBE
#define SANITIZER_INTERCEPT_MCHECK_MPROBE

#undef SANITIZER_INTERCEPT_WCSLEN
#define SANITIZER_INTERCEPT_WCSLEN

#undef SANITIZER_INTERCEPT_WCSCAT
#define SANITIZER_INTERCEPT_WCSCAT

#undef SANITIZER_INTERCEPT_WCSDUP
#define SANITIZER_INTERCEPT_WCSDUP

#undef SANITIZER_INTERCEPT_SIGNAL_AND_SIGACTION
#define SANITIZER_INTERCEPT_SIGNAL_AND_SIGACTION

#undef SANITIZER_INTERCEPT_BSD_SIGNAL
#define SANITIZER_INTERCEPT_BSD_SIGNAL

#undef SANITIZER_INTERCEPT_ACCT
#define SANITIZER_INTERCEPT_ACCT

#undef SANITIZER_INTERCEPT_USER_FROM_UID
#define SANITIZER_INTERCEPT_USER_FROM_UID

#undef SANITIZER_INTERCEPT_UID_FROM_USER
#define SANITIZER_INTERCEPT_UID_FROM_USER

#undef SANITIZER_INTERCEPT_GROUP_FROM_GID
#define SANITIZER_INTERCEPT_GROUP_FROM_GID

#undef SANITIZER_INTERCEPT_GID_FROM_GROUP
#define SANITIZER_INTERCEPT_GID_FROM_GROUP

#undef SANITIZER_INTERCEPT_ACCESS
#define SANITIZER_INTERCEPT_ACCESS

#undef SANITIZER_INTERCEPT_FACCESSAT
#define SANITIZER_INTERCEPT_FACCESSAT

#undef SANITIZER_INTERCEPT_GETGROUPLIST
#define SANITIZER_INTERCEPT_GETGROUPLIST

#undef SANITIZER_INTERCEPT_STRLCPY
#define SANITIZER_INTERCEPT_STRLCPY

#undef SANITIZER_INTERCEPT_NAME_TO_HANDLE_AT
#define SANITIZER_INTERCEPT_NAME_TO_HANDLE_AT

#undef SANITIZER_INTERCEPT_OPEN_BY_HANDLE_AT
#define SANITIZER_INTERCEPT_OPEN_BY_HANDLE_AT

#undef SANITIZER_INTERCEPT_READLINK
#define SANITIZER_INTERCEPT_READLINK

#undef SANITIZER_INTERCEPT_READLINKAT
#define SANITIZER_INTERCEPT_READLINKAT

#undef SANITIZER_INTERCEPT_DEVNAME
#define SANITIZER_INTERCEPT_DEVNAME

#undef SANITIZER_INTERCEPT_DEVNAME_R
#define SANITIZER_INTERCEPT_DEVNAME_R

#undef SANITIZER_INTERCEPT_FGETLN
#define SANITIZER_INTERCEPT_FGETLN

#undef SANITIZER_INTERCEPT_STRMODE
#define SANITIZER_INTERCEPT_STRMODE

#undef SANITIZER_INTERCEPT_TTYENT
#define SANITIZER_INTERCEPT_TTYENT

#undef SANITIZER_INTERCEPT_TTYENTPATH
#define SANITIZER_INTERCEPT_TTYENTPATH

#undef SANITIZER_INTERCEPT_PROTOENT
#define SANITIZER_INTERCEPT_PROTOENT

#undef SANITIZER_INTERCEPT_PROTOENT_R
#define SANITIZER_INTERCEPT_PROTOENT_R

#undef SANITIZER_INTERCEPT_NETENT
#define SANITIZER_INTERCEPT_NETENT

#undef SANITIZER_INTERCEPT_SETVBUF
#define SANITIZER_INTERCEPT_SETVBUF

#undef SANITIZER_INTERCEPT_GETMNTINFO
#define SANITIZER_INTERCEPT_GETMNTINFO

#undef SANITIZER_INTERCEPT_MI_VECTOR_HASH
#define SANITIZER_INTERCEPT_MI_VECTOR_HASH

#undef SANITIZER_INTERCEPT_GETVFSSTAT
#define SANITIZER_INTERCEPT_GETVFSSTAT

#undef SANITIZER_INTERCEPT_REGEX
#define SANITIZER_INTERCEPT_REGEX

#undef SANITIZER_INTERCEPT_REGEXSUB
#define SANITIZER_INTERCEPT_REGEXSUB

#undef SANITIZER_INTERCEPT_FTS
#define SANITIZER_INTERCEPT_FTS

#undef SANITIZER_INTERCEPT_SYSCTL
#define SANITIZER_INTERCEPT_SYSCTL

#undef SANITIZER_INTERCEPT_ASYSCTL
#define SANITIZER_INTERCEPT_ASYSCTL

#undef SANITIZER_INTERCEPT_SYSCTLGETMIBINFO
#define SANITIZER_INTERCEPT_SYSCTLGETMIBINFO

#undef SANITIZER_INTERCEPT_NL_LANGINFO
#define SANITIZER_INTERCEPT_NL_LANGINFO

#undef SANITIZER_INTERCEPT_MODCTL
#define SANITIZER_INTERCEPT_MODCTL

#undef SANITIZER_INTERCEPT_CAPSICUM
#define SANITIZER_INTERCEPT_CAPSICUM

#undef SANITIZER_INTERCEPT_STRTONUM
#define SANITIZER_INTERCEPT_STRTONUM

#undef SANITIZER_INTERCEPT_FPARSELN
#define SANITIZER_INTERCEPT_FPARSELN

#undef SANITIZER_INTERCEPT_STATVFS1
#define SANITIZER_INTERCEPT_STATVFS1

#undef SANITIZER_INTERCEPT_STRTOI
#define SANITIZER_INTERCEPT_STRTOI

#undef SANITIZER_INTERCEPT_CAPSICUM
#define SANITIZER_INTERCEPT_CAPSICUM

#undef SANITIZER_INTERCEPT_SHA1
#define SANITIZER_INTERCEPT_SHA1

#undef SANITIZER_INTERCEPT_MD4
#define SANITIZER_INTERCEPT_MD4

#undef SANITIZER_INTERCEPT_RMD160
#define SANITIZER_INTERCEPT_RMD160

#undef SANITIZER_INTERCEPT_MD5
#define SANITIZER_INTERCEPT_MD5

#undef SANITIZER_INTERCEPT_FSEEK
#define SANITIZER_INTERCEPT_FSEEK

#undef SANITIZER_INTERCEPT_MD2
#define SANITIZER_INTERCEPT_MD2

#undef SANITIZER_INTERCEPT_SHA2
#define SANITIZER_INTERCEPT_SHA2

#undef SANITIZER_INTERCEPT_CDB
#define SANITIZER_INTERCEPT_CDB

#undef SANITIZER_INTERCEPT_VIS
#define SANITIZER_INTERCEPT_VIS

#undef SANITIZER_INTERCEPT_POPEN
#define SANITIZER_INTERCEPT_POPEN

#undef SANITIZER_INTERCEPT_POPENVE
#define SANITIZER_INTERCEPT_POPENVE

#undef SANITIZER_INTERCEPT_PCLOSE
#define SANITIZER_INTERCEPT_PCLOSE

#undef SANITIZER_INTERCEPT_FUNOPEN
#define SANITIZER_INTERCEPT_FUNOPEN

#undef SANITIZER_INTERCEPT_FUNOPEN2
#define SANITIZER_INTERCEPT_FUNOPEN2

#undef SANITIZER_INTERCEPT_GETFSENT
#define SANITIZER_INTERCEPT_GETFSENT

#undef SANITIZER_INTERCEPT_ARC4RANDOM
#define SANITIZER_INTERCEPT_ARC4RANDOM

#undef SANITIZER_INTERCEPT_FDEVNAME
#define SANITIZER_INTERCEPT_FDEVNAME

#undef SANITIZER_INTERCEPT_GETUSERSHELL
#define SANITIZER_INTERCEPT_GETUSERSHELL

#undef SANITIZER_INTERCEPT_SL_INIT
#define SANITIZER_INTERCEPT_SL_INIT

#undef SANITIZER_INTERCEPT_GETRANDOM
#define SANITIZER_INTERCEPT_GETRANDOM

#undef SANITIZER_INTERCEPT___CXA_ATEXIT
#define SANITIZER_INTERCEPT___CXA_ATEXIT

#undef SANITIZER_INTERCEPT_ATEXIT
#define SANITIZER_INTERCEPT_ATEXIT

#undef SANITIZER_INTERCEPT_PTHREAD_ATFORK
#define SANITIZER_INTERCEPT_PTHREAD_ATFORK

#undef SANITIZER_INTERCEPT_GETENTROPY
#define SANITIZER_INTERCEPT_GETENTROPY

#undef SANITIZER_INTERCEPT_QSORT
#define SANITIZER_INTERCEPT_QSORT

#undef SANITIZER_INTERCEPT_QSORT_R
#define SANITIZER_INTERCEPT_QSORT_R

#undef SANITIZER_INTERCEPT_BSEARCH
#define SANITIZER_INTERCEPT_BSEARCH

#undef SANITIZER_INTERCEPT_SIGALTSTACK
#define SANITIZER_INTERCEPT_SIGALTSTACK

#undef SANITIZER_INTERCEPT_UNAME
#define SANITIZER_INTERCEPT_UNAME

#undef SANITIZER_INTERCEPT___XUNAME
#define SANITIZER_INTERCEPT___XUNAME

#undef SANITIZER_INTERCEPT_FLOPEN
#define SANITIZER_INTERCEPT_FLOPEN

#undef SANITIZER_INTERCEPT_PROCCTL
#define SANITIZER_INTERCEPT_PROCCTL

#undef SANITIZER_INTERCEPT_HEXDUMP
#define SANITIZER_INTERCEPT_HEXDUMP

#undef SANITIZER_INTERCEPT_ARGP_PARSE
#define SANITIZER_INTERCEPT_ARGP_PARSE

#endif // HWASAN_PLATFORM_INTERCEPTORS_H