1#ifndef HWASAN_PLATFORM_INTERCEPTORS_H
2#define HWASAN_PLATFORM_INTERCEPTORS_H
3
4#include "sanitizer_common/sanitizer_platform_interceptors.h"
5
6// This file cancels out most of the sanitizer_common interception, thus
7// allowing HWASan to selectively reuse some of the interceptors.
8//
9// To re-enable sanitizer_common's interception of a function, comment out
10// the corresponding '#undef SANITIZER_INTERCEPT_fn' and
11// '#define SANITIZER_INTERCEPT_fn 0':
12// - We prefer to comment out rather than delete the lines, to show that
13// it is deliberate, rather than an accidental omission.
14// - We do not use '#define SANITIZE_INTERCEPT_fn 1', because
15// interception is usually conditional (e.g., based on SI_POSIX); we let
16// the condition in sanitizers_platform_interceptors.h take effect.
17
18// Originally generated with:
19// 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
20#undef SANITIZER_INTERCEPT_STRLEN
21#define SANITIZER_INTERCEPT_STRLEN 0
22
23#undef SANITIZER_INTERCEPT_STRNLEN
24#define SANITIZER_INTERCEPT_STRNLEN 0
25
26#undef SANITIZER_INTERCEPT_STRCMP
27#define SANITIZER_INTERCEPT_STRCMP 0
28
29#undef SANITIZER_INTERCEPT_STRSTR
30#define SANITIZER_INTERCEPT_STRSTR 0
31
32#undef SANITIZER_INTERCEPT_STRCASESTR
33#define SANITIZER_INTERCEPT_STRCASESTR 0
34
35#undef SANITIZER_INTERCEPT_STRTOK
36#define SANITIZER_INTERCEPT_STRTOK 0
37
38#undef SANITIZER_INTERCEPT_STRCHR
39#define SANITIZER_INTERCEPT_STRCHR 0
40
41#undef SANITIZER_INTERCEPT_STRCHRNUL
42#define SANITIZER_INTERCEPT_STRCHRNUL 0
43
44#undef SANITIZER_INTERCEPT_STRRCHR
45#define SANITIZER_INTERCEPT_STRRCHR 0
46
47#undef SANITIZER_INTERCEPT_STRSPN
48#define SANITIZER_INTERCEPT_STRSPN 0
49
50#undef SANITIZER_INTERCEPT_STRPBRK
51#define SANITIZER_INTERCEPT_STRPBRK 0
52
53#undef SANITIZER_INTERCEPT_TEXTDOMAIN
54#define SANITIZER_INTERCEPT_TEXTDOMAIN 0
55
56#undef SANITIZER_INTERCEPT_STRCASECMP
57#define SANITIZER_INTERCEPT_STRCASECMP 0
58
59// #undef SANITIZER_INTERCEPT_MEMSET
60// #define SANITIZER_INTERCEPT_MEMSET 0
61
62// #undef SANITIZER_INTERCEPT_MEMMOVE
63// #define SANITIZER_INTERCEPT_MEMMOVE 0
64
65// #undef SANITIZER_INTERCEPT_MEMCPY
66// #define SANITIZER_INTERCEPT_MEMCPY 0
67
68// #undef SANITIZER_INTERCEPT_MEMCMP
69// #define SANITIZER_INTERCEPT_MEMCMP 0
70
71// #undef SANITIZER_INTERCEPT_BCMP
72// #define SANITIZER_INTERCEPT_BCMP 0
73
74#undef SANITIZER_INTERCEPT_STRNDUP
75#define SANITIZER_INTERCEPT_STRNDUP 0
76
77#undef SANITIZER_INTERCEPT___STRNDUP
78#define SANITIZER_INTERCEPT___STRNDUP 0
79
80#undef SANITIZER_INTERCEPT_MEMMEM
81#define SANITIZER_INTERCEPT_MEMMEM 0
82
83#undef SANITIZER_INTERCEPT_MEMCHR
84#define SANITIZER_INTERCEPT_MEMCHR 0
85
86#undef SANITIZER_INTERCEPT_MEMRCHR
87#define SANITIZER_INTERCEPT_MEMRCHR 0
88
89#undef SANITIZER_INTERCEPT_READ
90#define SANITIZER_INTERCEPT_READ 0
91
92#undef SANITIZER_INTERCEPT_PREAD
93#define SANITIZER_INTERCEPT_PREAD 0
94
95#undef SANITIZER_INTERCEPT_WRITE
96#define SANITIZER_INTERCEPT_WRITE 0
97
98#undef SANITIZER_INTERCEPT_PWRITE
99#define SANITIZER_INTERCEPT_PWRITE 0
100
101#undef SANITIZER_INTERCEPT_FREAD
102#define SANITIZER_INTERCEPT_FREAD 0
103
104#undef SANITIZER_INTERCEPT_FWRITE
105#define SANITIZER_INTERCEPT_FWRITE 0
106
107#undef SANITIZER_INTERCEPT_FGETS
108#define SANITIZER_INTERCEPT_FGETS 0
109
110#undef SANITIZER_INTERCEPT_FPUTS
111#define SANITIZER_INTERCEPT_FPUTS 0
112
113#undef SANITIZER_INTERCEPT_PUTS
114#define SANITIZER_INTERCEPT_PUTS 0
115
116#undef SANITIZER_INTERCEPT_PREAD64
117#define SANITIZER_INTERCEPT_PREAD64 0
118
119#undef SANITIZER_INTERCEPT_PWRITE64
120#define SANITIZER_INTERCEPT_PWRITE64 0
121
122#undef SANITIZER_INTERCEPT_READV
123#define SANITIZER_INTERCEPT_READV 0
124
125#undef SANITIZER_INTERCEPT_WRITEV
126#define SANITIZER_INTERCEPT_WRITEV 0
127
128#undef SANITIZER_INTERCEPT_PREADV
129#define SANITIZER_INTERCEPT_PREADV 0
130
131#undef SANITIZER_INTERCEPT_PWRITEV
132#define SANITIZER_INTERCEPT_PWRITEV 0
133
134#undef SANITIZER_INTERCEPT_PREADV64
135#define SANITIZER_INTERCEPT_PREADV64 0
136
137#undef SANITIZER_INTERCEPT_PWRITEV64
138#define SANITIZER_INTERCEPT_PWRITEV64 0
139
140#undef SANITIZER_INTERCEPT_PRCTL
141#define SANITIZER_INTERCEPT_PRCTL 0
142
143#undef SANITIZER_INTERCEPT_LOCALTIME_AND_FRIENDS
144#define SANITIZER_INTERCEPT_LOCALTIME_AND_FRIENDS 0
145
146#undef SANITIZER_INTERCEPT_STRPTIME
147#define SANITIZER_INTERCEPT_STRPTIME 0
148
149#undef SANITIZER_INTERCEPT_SCANF
150#define SANITIZER_INTERCEPT_SCANF 0
151
152#undef SANITIZER_INTERCEPT_ISOC99_SCANF
153#define SANITIZER_INTERCEPT_ISOC99_SCANF 0
154
155#undef SANITIZER_INTERCEPT_PRINTF
156#define SANITIZER_INTERCEPT_PRINTF 0
157
158#undef SANITIZER_INTERCEPT_PRINTF_L
159#define SANITIZER_INTERCEPT_PRINTF_L 0
160
161#undef SANITIZER_INTERCEPT_ISOC99_PRINTF
162#define SANITIZER_INTERCEPT_ISOC99_PRINTF 0
163
164#undef SANITIZER_INTERCEPT___PRINTF_CHK
165#define SANITIZER_INTERCEPT___PRINTF_CHK 0
166
167#undef SANITIZER_INTERCEPT_FREXP
168#define SANITIZER_INTERCEPT_FREXP 0
169
170#undef SANITIZER_INTERCEPT_FREXPF_FREXPL
171#define SANITIZER_INTERCEPT_FREXPF_FREXPL 0
172
173#undef SANITIZER_INTERCEPT_GETPWNAM_AND_FRIENDS
174#define SANITIZER_INTERCEPT_GETPWNAM_AND_FRIENDS 0
175
176#undef SANITIZER_INTERCEPT_GETPWNAM_R_AND_FRIENDS
177#define SANITIZER_INTERCEPT_GETPWNAM_R_AND_FRIENDS 0
178
179#undef SANITIZER_INTERCEPT_GETPWENT
180#define SANITIZER_INTERCEPT_GETPWENT 0
181
182#undef SANITIZER_INTERCEPT_FGETGRENT_R
183#define SANITIZER_INTERCEPT_FGETGRENT_R 0
184
185#undef SANITIZER_INTERCEPT_FGETPWENT
186#define SANITIZER_INTERCEPT_FGETPWENT 0
187
188#undef SANITIZER_INTERCEPT_GETPWENT_R
189#define SANITIZER_INTERCEPT_GETPWENT_R 0
190
191#undef SANITIZER_INTERCEPT_FGETPWENT_R
192#define SANITIZER_INTERCEPT_FGETPWENT_R 0
193
194#undef SANITIZER_INTERCEPT_SETPWENT
195#define SANITIZER_INTERCEPT_SETPWENT 0
196
197#undef SANITIZER_INTERCEPT_CLOCK_GETTIME
198#define SANITIZER_INTERCEPT_CLOCK_GETTIME 0
199
200#undef SANITIZER_INTERCEPT_CLOCK_GETCPUCLOCKID
201#define SANITIZER_INTERCEPT_CLOCK_GETCPUCLOCKID 0
202
203#undef SANITIZER_INTERCEPT_GETITIMER
204#define SANITIZER_INTERCEPT_GETITIMER 0
205
206#undef SANITIZER_INTERCEPT_TIME
207#define SANITIZER_INTERCEPT_TIME 0
208
209#undef SANITIZER_INTERCEPT_GLOB
210#define SANITIZER_INTERCEPT_GLOB 0
211
212#undef SANITIZER_INTERCEPT_GLOB64
213#define SANITIZER_INTERCEPT_GLOB64 0
214
215#undef SANITIZER_INTERCEPT___B64_TO
216#define SANITIZER_INTERCEPT___B64_TO 0
217
218#undef SANITIZER_INTERCEPT_DN_COMP_EXPAND
219#define SANITIZER_INTERCEPT_DN_COMP_EXPAND 0
220
221#undef SANITIZER_INTERCEPT_POSIX_SPAWN
222#define SANITIZER_INTERCEPT_POSIX_SPAWN 0
223
224#undef SANITIZER_INTERCEPT_WAIT
225#define SANITIZER_INTERCEPT_WAIT 0
226
227#undef SANITIZER_INTERCEPT_INET
228#define SANITIZER_INTERCEPT_INET 0
229
230#undef SANITIZER_INTERCEPT_PTHREAD_GETSCHEDPARAM
231#define SANITIZER_INTERCEPT_PTHREAD_GETSCHEDPARAM 0
232
233#undef SANITIZER_INTERCEPT_GETADDRINFO
234#define SANITIZER_INTERCEPT_GETADDRINFO 0
235
236#undef SANITIZER_INTERCEPT_GETNAMEINFO
237#define SANITIZER_INTERCEPT_GETNAMEINFO 0
238
239#undef SANITIZER_INTERCEPT_GETSOCKNAME
240#define SANITIZER_INTERCEPT_GETSOCKNAME 0
241
242#undef SANITIZER_INTERCEPT_GETHOSTBYNAME
243#define SANITIZER_INTERCEPT_GETHOSTBYNAME 0
244
245#undef SANITIZER_INTERCEPT_GETHOSTBYNAME2
246#define SANITIZER_INTERCEPT_GETHOSTBYNAME2 0
247
248#undef SANITIZER_INTERCEPT_GETHOSTBYNAME_R
249#define SANITIZER_INTERCEPT_GETHOSTBYNAME_R 0
250
251#undef SANITIZER_INTERCEPT_GETHOSTBYNAME2_R
252#define SANITIZER_INTERCEPT_GETHOSTBYNAME2_R 0
253
254#undef SANITIZER_INTERCEPT_GETHOSTBYADDR_R
255#define SANITIZER_INTERCEPT_GETHOSTBYADDR_R 0
256
257#undef SANITIZER_INTERCEPT_GETHOSTENT_R
258#define SANITIZER_INTERCEPT_GETHOSTENT_R 0
259
260#undef SANITIZER_INTERCEPT_GETSOCKOPT
261#define SANITIZER_INTERCEPT_GETSOCKOPT 0
262
263#undef SANITIZER_INTERCEPT_ACCEPT
264#define SANITIZER_INTERCEPT_ACCEPT 0
265
266#undef SANITIZER_INTERCEPT_ACCEPT4
267#define SANITIZER_INTERCEPT_ACCEPT4 0
268
269#undef SANITIZER_INTERCEPT_PACCEPT
270#define SANITIZER_INTERCEPT_PACCEPT 0
271
272#undef SANITIZER_INTERCEPT_MODF
273#define SANITIZER_INTERCEPT_MODF 0
274
275#undef SANITIZER_INTERCEPT_RECVMSG
276#define SANITIZER_INTERCEPT_RECVMSG 0
277
278#undef SANITIZER_INTERCEPT_SENDMSG
279#define SANITIZER_INTERCEPT_SENDMSG 0
280
281#undef SANITIZER_INTERCEPT_RECVMMSG
282#define SANITIZER_INTERCEPT_RECVMMSG 0
283
284#undef SANITIZER_INTERCEPT_SENDMMSG
285#define SANITIZER_INTERCEPT_SENDMMSG 0
286
287#undef SANITIZER_INTERCEPT_SYSMSG
288#define SANITIZER_INTERCEPT_SYSMSG 0
289
290#undef SANITIZER_INTERCEPT_GETPEERNAME
291#define SANITIZER_INTERCEPT_GETPEERNAME 0
292
293#undef SANITIZER_INTERCEPT_IOCTL
294#define SANITIZER_INTERCEPT_IOCTL 0
295
296#undef SANITIZER_INTERCEPT_INET_ATON
297#define SANITIZER_INTERCEPT_INET_ATON 0
298
299#undef SANITIZER_INTERCEPT_SYSINFO
300#define SANITIZER_INTERCEPT_SYSINFO 0
301
302#undef SANITIZER_INTERCEPT_READDIR
303#define SANITIZER_INTERCEPT_READDIR 0
304
305#undef SANITIZER_INTERCEPT_READDIR64
306#define SANITIZER_INTERCEPT_READDIR64 0
307
308#undef SANITIZER_INTERCEPT_PTRACE
309#define SANITIZER_INTERCEPT_PTRACE 0
310
311#undef SANITIZER_INTERCEPT_PTRACE
312#define SANITIZER_INTERCEPT_PTRACE 0
313
314#undef SANITIZER_INTERCEPT_SETLOCALE
315#define SANITIZER_INTERCEPT_SETLOCALE 0
316
317#undef SANITIZER_INTERCEPT_GETCWD
318#define SANITIZER_INTERCEPT_GETCWD 0
319
320#undef SANITIZER_INTERCEPT_GET_CURRENT_DIR_NAME
321#define SANITIZER_INTERCEPT_GET_CURRENT_DIR_NAME 0
322
323#undef SANITIZER_INTERCEPT_STRTOIMAX
324#define SANITIZER_INTERCEPT_STRTOIMAX 0
325
326#undef SANITIZER_INTERCEPT_MBSTOWCS
327#define SANITIZER_INTERCEPT_MBSTOWCS 0
328
329#undef SANITIZER_INTERCEPT_MBSNRTOWCS
330#define SANITIZER_INTERCEPT_MBSNRTOWCS 0
331
332#undef SANITIZER_INTERCEPT_WCSTOMBS
333#define SANITIZER_INTERCEPT_WCSTOMBS 0
334
335#undef SANITIZER_INTERCEPT_STRXFRM
336#define SANITIZER_INTERCEPT_STRXFRM 0
337
338#undef SANITIZER_INTERCEPT___STRXFRM_L
339#define SANITIZER_INTERCEPT___STRXFRM_L 0
340
341#undef SANITIZER_INTERCEPT_WCSXFRM
342#define SANITIZER_INTERCEPT_WCSXFRM 0
343
344#undef SANITIZER_INTERCEPT___WCSXFRM_L
345#define SANITIZER_INTERCEPT___WCSXFRM_L 0
346
347#undef SANITIZER_INTERCEPT_WCSNRTOMBS
348#define SANITIZER_INTERCEPT_WCSNRTOMBS 0
349
350#undef SANITIZER_INTERCEPT_WCRTOMB
351#define SANITIZER_INTERCEPT_WCRTOMB 0
352
353#undef SANITIZER_INTERCEPT_WCTOMB
354#define SANITIZER_INTERCEPT_WCTOMB 0
355
356#undef SANITIZER_INTERCEPT_TCGETATTR
357#define SANITIZER_INTERCEPT_TCGETATTR 0
358
359#undef SANITIZER_INTERCEPT_REALPATH
360#define SANITIZER_INTERCEPT_REALPATH 0
361
362#undef SANITIZER_INTERCEPT_CANONICALIZE_FILE_NAME
363#define SANITIZER_INTERCEPT_CANONICALIZE_FILE_NAME 0
364
365#undef SANITIZER_INTERCEPT_CONFSTR
366#define SANITIZER_INTERCEPT_CONFSTR 0
367
368#undef SANITIZER_INTERCEPT_SCHED_GETAFFINITY
369#define SANITIZER_INTERCEPT_SCHED_GETAFFINITY 0
370
371#undef SANITIZER_INTERCEPT_SCHED_GETPARAM
372#define SANITIZER_INTERCEPT_SCHED_GETPARAM 0
373
374#undef SANITIZER_INTERCEPT_STRERROR
375#define SANITIZER_INTERCEPT_STRERROR 0
376
377#undef SANITIZER_INTERCEPT_STRERROR_R
378#define SANITIZER_INTERCEPT_STRERROR_R 0
379
380#undef SANITIZER_INTERCEPT_XPG_STRERROR_R
381#define SANITIZER_INTERCEPT_XPG_STRERROR_R 0
382
383#undef SANITIZER_INTERCEPT_SCANDIR
384#define SANITIZER_INTERCEPT_SCANDIR 0
385
386#undef SANITIZER_INTERCEPT_SCANDIR64
387#define SANITIZER_INTERCEPT_SCANDIR64 0
388
389#undef SANITIZER_INTERCEPT_GETGROUPS
390#define SANITIZER_INTERCEPT_GETGROUPS 0
391
392#undef SANITIZER_INTERCEPT_POLL
393#define SANITIZER_INTERCEPT_POLL 0
394
395#undef SANITIZER_INTERCEPT_PPOLL
396#define SANITIZER_INTERCEPT_PPOLL 0
397
398#undef SANITIZER_INTERCEPT_WORDEXP
399#define SANITIZER_INTERCEPT_WORDEXP 0
400
401#undef SANITIZER_INTERCEPT_SIGWAIT
402#define SANITIZER_INTERCEPT_SIGWAIT 0
403
404#undef SANITIZER_INTERCEPT_SIGWAITINFO
405#define SANITIZER_INTERCEPT_SIGWAITINFO 0
406
407#undef SANITIZER_INTERCEPT_SIGTIMEDWAIT
408#define SANITIZER_INTERCEPT_SIGTIMEDWAIT 0
409
410#undef SANITIZER_INTERCEPT_SIGSETOPS
411#define SANITIZER_INTERCEPT_SIGSETOPS 0
412
413#undef SANITIZER_INTERCEPT_SIGSET_LOGICOPS
414#define SANITIZER_INTERCEPT_SIGSET_LOGICOPS 0
415
416#undef SANITIZER_INTERCEPT_SIGPENDING
417#define SANITIZER_INTERCEPT_SIGPENDING 0
418
419#undef SANITIZER_INTERCEPT_SIGPROCMASK
420#define SANITIZER_INTERCEPT_SIGPROCMASK 0
421
422#undef SANITIZER_INTERCEPT_PTHREAD_SIGMASK
423#define SANITIZER_INTERCEPT_PTHREAD_SIGMASK 0
424
425#undef SANITIZER_INTERCEPT_BACKTRACE
426#define SANITIZER_INTERCEPT_BACKTRACE 0
427
428#undef SANITIZER_INTERCEPT_GETMNTENT
429#define SANITIZER_INTERCEPT_GETMNTENT 0
430
431#undef SANITIZER_INTERCEPT_GETMNTENT_R
432#define SANITIZER_INTERCEPT_GETMNTENT_R 0
433
434#undef SANITIZER_INTERCEPT_STATFS
435#define SANITIZER_INTERCEPT_STATFS 0
436
437#undef SANITIZER_INTERCEPT_STATFS64
438#define SANITIZER_INTERCEPT_STATFS64 0
439
440#undef SANITIZER_INTERCEPT_STATVFS
441#define SANITIZER_INTERCEPT_STATVFS 0
442
443#undef SANITIZER_INTERCEPT_STATVFS64
444#define SANITIZER_INTERCEPT_STATVFS64 0
445
446#undef SANITIZER_INTERCEPT_INITGROUPS
447#define SANITIZER_INTERCEPT_INITGROUPS 0
448
449#undef SANITIZER_INTERCEPT_ETHER_NTOA_ATON
450#define SANITIZER_INTERCEPT_ETHER_NTOA_ATON 0
451
452#undef SANITIZER_INTERCEPT_ETHER_HOST
453#define SANITIZER_INTERCEPT_ETHER_HOST 0
454
455#undef SANITIZER_INTERCEPT_ETHER_R
456#define SANITIZER_INTERCEPT_ETHER_R 0
457
458#undef SANITIZER_INTERCEPT_SHMCTL
459#define SANITIZER_INTERCEPT_SHMCTL 0
460
461#undef SANITIZER_INTERCEPT_RANDOM_R
462#define SANITIZER_INTERCEPT_RANDOM_R 0
463
464#undef SANITIZER_INTERCEPT_PTHREAD_ATTR_GET
465#define SANITIZER_INTERCEPT_PTHREAD_ATTR_GET 0
466
467#undef SANITIZER_INTERCEPT_PTHREAD_ATTR_GETINHERITSCHED
468#define SANITIZER_INTERCEPT_PTHREAD_ATTR_GETINHERITSCHED 0
469
470#undef SANITIZER_INTERCEPT_PTHREAD_ATTR_GETAFFINITY_NP
471#define SANITIZER_INTERCEPT_PTHREAD_ATTR_GETAFFINITY_NP 0
472
473#undef SANITIZER_INTERCEPT_PTHREAD_GETAFFINITY_NP
474#define SANITIZER_INTERCEPT_PTHREAD_GETAFFINITY_NP 0
475
476#undef SANITIZER_INTERCEPT_PTHREAD_ATTR_GET_SCHED
477#define SANITIZER_INTERCEPT_PTHREAD_ATTR_GET_SCHED 0
478
479#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPSHARED
480#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPSHARED 0
481
482#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETTYPE
483#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETTYPE 0
484
485#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPROTOCOL
486#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPROTOCOL 0
487
488#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPRIOCEILING
489#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETPRIOCEILING 0
490
491#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST
492#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST 0
493
494#undef SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST_NP
495#define SANITIZER_INTERCEPT_PTHREAD_MUTEXATTR_GETROBUST_NP 0
496
497#undef SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GETPSHARED
498#define SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GETPSHARED 0
499
500#undef SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GETKIND_NP
501#define SANITIZER_INTERCEPT_PTHREAD_RWLOCKATTR_GETKIND_NP 0
502
503#undef SANITIZER_INTERCEPT_PTHREAD_CONDATTR_GETPSHARED
504#define SANITIZER_INTERCEPT_PTHREAD_CONDATTR_GETPSHARED 0
505
506#undef SANITIZER_INTERCEPT_PTHREAD_CONDATTR_GETCLOCK
507#define SANITIZER_INTERCEPT_PTHREAD_CONDATTR_GETCLOCK 0
508
509#undef SANITIZER_INTERCEPT_PTHREAD_BARRIERATTR_GETPSHARED
510#define SANITIZER_INTERCEPT_PTHREAD_BARRIERATTR_GETPSHARED 0
511
512#undef SANITIZER_INTERCEPT_TRYJOIN
513#define SANITIZER_INTERCEPT_TRYJOIN 0
514
515#undef SANITIZER_INTERCEPT_TIMEDJOIN
516#define SANITIZER_INTERCEPT_TIMEDJOIN 0
517
518#undef SANITIZER_INTERCEPT_THR_EXIT
519#define SANITIZER_INTERCEPT_THR_EXIT 0
520
521#undef SANITIZER_INTERCEPT_TMPNAM
522#define SANITIZER_INTERCEPT_TMPNAM 0
523
524#undef SANITIZER_INTERCEPT_TMPNAM_R
525#define SANITIZER_INTERCEPT_TMPNAM_R 0
526
527#undef SANITIZER_INTERCEPT_PTSNAME
528#define SANITIZER_INTERCEPT_PTSNAME 0
529
530#undef SANITIZER_INTERCEPT_PTSNAME_R
531#define SANITIZER_INTERCEPT_PTSNAME_R 0
532
533#undef SANITIZER_INTERCEPT_TTYNAME
534#define SANITIZER_INTERCEPT_TTYNAME 0
535
536#undef SANITIZER_INTERCEPT_TTYNAME_R
537#define SANITIZER_INTERCEPT_TTYNAME_R 0
538
539#undef SANITIZER_INTERCEPT_TEMPNAM
540#define SANITIZER_INTERCEPT_TEMPNAM 0
541
542#undef SANITIZER_INTERCEPT_SINCOS
543#define SANITIZER_INTERCEPT_SINCOS 0
544
545#undef SANITIZER_INTERCEPT_REMQUO
546#define SANITIZER_INTERCEPT_REMQUO 0
547
548#undef SANITIZER_INTERCEPT_REMQUOL
549#define SANITIZER_INTERCEPT_REMQUOL 0
550
551#undef SANITIZER_INTERCEPT_LGAMMA
552#define SANITIZER_INTERCEPT_LGAMMA 0
553
554#undef SANITIZER_INTERCEPT_LGAMMAL
555#define SANITIZER_INTERCEPT_LGAMMAL 0
556
557#undef SANITIZER_INTERCEPT_LGAMMA_R
558#define SANITIZER_INTERCEPT_LGAMMA_R 0
559
560#undef SANITIZER_INTERCEPT_LGAMMAL_R
561#define SANITIZER_INTERCEPT_LGAMMAL_R 0
562
563#undef SANITIZER_INTERCEPT_DRAND48_R
564#define SANITIZER_INTERCEPT_DRAND48_R 0
565
566#undef SANITIZER_INTERCEPT_RAND_R
567#define SANITIZER_INTERCEPT_RAND_R 0
568
569#undef SANITIZER_INTERCEPT_ICONV
570#define SANITIZER_INTERCEPT_ICONV 0
571
572#undef SANITIZER_INTERCEPT_TIMES
573#define SANITIZER_INTERCEPT_TIMES 0
574
575#undef SANITIZER_INTERCEPT_GETLINE
576#define SANITIZER_INTERCEPT_GETLINE 0
577
578#undef SANITIZER_INTERCEPT__EXIT
579#define SANITIZER_INTERCEPT__EXIT 0
580
581#undef SANITIZER_INTERCEPT___LIBC_MUTEX
582#define SANITIZER_INTERCEPT___LIBC_MUTEX 0
583
584#undef SANITIZER_INTERCEPT_PTHREAD_SETNAME_NP
585#define SANITIZER_INTERCEPT_PTHREAD_SETNAME_NP 0
586
587#undef SANITIZER_INTERCEPT_PTHREAD_GETNAME_NP
588#define SANITIZER_INTERCEPT_PTHREAD_GETNAME_NP 0
589
590#undef SANITIZER_INTERCEPT_TLS_GET_ADDR
591#define SANITIZER_INTERCEPT_TLS_GET_ADDR 0
592
593#undef SANITIZER_INTERCEPT_LISTXATTR
594#define SANITIZER_INTERCEPT_LISTXATTR 0
595
596#undef SANITIZER_INTERCEPT_GETXATTR
597#define SANITIZER_INTERCEPT_GETXATTR 0
598
599#undef SANITIZER_INTERCEPT_GETRESID
600#define SANITIZER_INTERCEPT_GETRESID 0
601
602#undef SANITIZER_INTERCEPT_GETIFADDRS
603#define SANITIZER_INTERCEPT_GETIFADDRS 0
604
605#undef SANITIZER_INTERCEPT_IF_INDEXTONAME
606#define SANITIZER_INTERCEPT_IF_INDEXTONAME 0
607
608#undef SANITIZER_INTERCEPT_CAPGET
609#define SANITIZER_INTERCEPT_CAPGET 0
610
611#undef SANITIZER_INTERCEPT_AEABI_MEM
612#define SANITIZER_INTERCEPT_AEABI_MEM 0
613
614#undef SANITIZER_INTERCEPT_AEABI_MEM
615#define SANITIZER_INTERCEPT_AEABI_MEM 0
616
617#undef SANITIZER_INTERCEPT___BZERO
618#define SANITIZER_INTERCEPT___BZERO 0
619
620#undef SANITIZER_INTERCEPT_BZERO
621#define SANITIZER_INTERCEPT_BZERO 0
622
623#undef SANITIZER_INTERCEPT_FTIME
624#define SANITIZER_INTERCEPT_FTIME 0
625
626#undef SANITIZER_INTERCEPT_XDR
627#define SANITIZER_INTERCEPT_XDR 0
628
629#undef SANITIZER_INTERCEPT_XDRREC
630#define SANITIZER_INTERCEPT_XDRREC 0
631
632#undef SANITIZER_INTERCEPT_TSEARCH
633#define SANITIZER_INTERCEPT_TSEARCH 0
634
635#undef SANITIZER_INTERCEPT_LIBIO_INTERNALS
636#define SANITIZER_INTERCEPT_LIBIO_INTERNALS 0
637
638#undef SANITIZER_INTERCEPT_FOPEN
639#define SANITIZER_INTERCEPT_FOPEN 0
640
641#undef SANITIZER_INTERCEPT_FOPEN64
642#define SANITIZER_INTERCEPT_FOPEN64 0
643
644#undef SANITIZER_INTERCEPT_OPEN_MEMSTREAM
645#define SANITIZER_INTERCEPT_OPEN_MEMSTREAM 0
646
647#undef SANITIZER_INTERCEPT_OBSTACK
648#define SANITIZER_INTERCEPT_OBSTACK 0
649
650#undef SANITIZER_INTERCEPT_FFLUSH
651#define SANITIZER_INTERCEPT_FFLUSH 0
652
653#undef SANITIZER_INTERCEPT_FCLOSE
654#define SANITIZER_INTERCEPT_FCLOSE 0
655
656#undef SANITIZER_INTERCEPT_DLOPEN_DLCLOSE
657#define SANITIZER_INTERCEPT_DLOPEN_DLCLOSE 0
658
659#undef SANITIZER_INTERCEPT_GETPASS
660#define SANITIZER_INTERCEPT_GETPASS 0
661
662#undef SANITIZER_INTERCEPT_TIMERFD
663#define SANITIZER_INTERCEPT_TIMERFD 0
664
665#undef SANITIZER_INTERCEPT_MLOCKX
666#define SANITIZER_INTERCEPT_MLOCKX 0
667
668#undef SANITIZER_INTERCEPT_FOPENCOOKIE
669#define SANITIZER_INTERCEPT_FOPENCOOKIE 0
670
671#undef SANITIZER_INTERCEPT_SEM
672#define SANITIZER_INTERCEPT_SEM 0
673
674#undef SANITIZER_INTERCEPT_PTHREAD_SETCANCEL
675#define SANITIZER_INTERCEPT_PTHREAD_SETCANCEL 0
676
677#undef SANITIZER_INTERCEPT_MINCORE
678#define SANITIZER_INTERCEPT_MINCORE 0
679
680#undef SANITIZER_INTERCEPT_PROCESS_VM_READV
681#define SANITIZER_INTERCEPT_PROCESS_VM_READV 0
682
683#undef SANITIZER_INTERCEPT_CTERMID
684#define SANITIZER_INTERCEPT_CTERMID 0
685
686#undef SANITIZER_INTERCEPT_CTERMID_R
687#define SANITIZER_INTERCEPT_CTERMID_R 0
688
689#undef SANITIZER_INTERCEPTOR_HOOKS
690#define SANITIZER_INTERCEPTOR_HOOKS 0
691
692#undef SANITIZER_INTERCEPT_RECV_RECVFROM
693#define SANITIZER_INTERCEPT_RECV_RECVFROM 0
694
695#undef SANITIZER_INTERCEPT_SEND_SENDTO
696#define SANITIZER_INTERCEPT_SEND_SENDTO 0
697
698#undef SANITIZER_INTERCEPT_EVENTFD_READ_WRITE
699#define SANITIZER_INTERCEPT_EVENTFD_READ_WRITE 0
700
701#undef SANITIZER_INTERCEPT_STAT
702#define SANITIZER_INTERCEPT_STAT 0
703
704#undef SANITIZER_INTERCEPT_STAT64
705#define SANITIZER_INTERCEPT_STAT64 0
706
707#undef SANITIZER_INTERCEPT_LSTAT
708#define SANITIZER_INTERCEPT_LSTAT 0
709
710#undef SANITIZER_INTERCEPT___XSTAT
711#define SANITIZER_INTERCEPT___XSTAT 0
712
713#undef SANITIZER_INTERCEPT___XSTAT64
714#define SANITIZER_INTERCEPT___XSTAT64 0
715
716#undef SANITIZER_INTERCEPT___LXSTAT
717#define SANITIZER_INTERCEPT___LXSTAT 0
718
719#undef SANITIZER_INTERCEPT___LXSTAT64
720#define SANITIZER_INTERCEPT___LXSTAT64 0
721
722#undef SANITIZER_INTERCEPT_UTMP
723#define SANITIZER_INTERCEPT_UTMP 0
724
725#undef SANITIZER_INTERCEPT_UTMPX
726#define SANITIZER_INTERCEPT_UTMPX 0
727
728#undef SANITIZER_INTERCEPT_GETLOADAVG
729#define SANITIZER_INTERCEPT_GETLOADAVG 0
730
731// #undef SANITIZER_INTERCEPT_MMAP
732// #define SANITIZER_INTERCEPT_MMAP 0
733
734#undef SANITIZER_INTERCEPT_MMAP64
735#define SANITIZER_INTERCEPT_MMAP64 0
736
737#undef SANITIZER_INTERCEPT_MALLOPT_AND_MALLINFO
738#define SANITIZER_INTERCEPT_MALLOPT_AND_MALLINFO 0
739
740#undef SANITIZER_INTERCEPT_MEMALIGN
741#define SANITIZER_INTERCEPT_MEMALIGN 0
742
743#undef SANITIZER_INTERCEPT___LIBC_MEMALIGN
744#define SANITIZER_INTERCEPT___LIBC_MEMALIGN 0
745
746#undef SANITIZER_INTERCEPT_PVALLOC
747#define SANITIZER_INTERCEPT_PVALLOC 0
748
749#undef SANITIZER_INTERCEPT_CFREE
750#define SANITIZER_INTERCEPT_CFREE 0
751
752#undef SANITIZER_INTERCEPT_REALLOCARRAY
753#define SANITIZER_INTERCEPT_REALLOCARRAY 0
754
755#undef SANITIZER_INTERCEPT_ALIGNED_ALLOC
756#define SANITIZER_INTERCEPT_ALIGNED_ALLOC 0
757
758#undef SANITIZER_INTERCEPT_MALLOC_USABLE_SIZE
759#define SANITIZER_INTERCEPT_MALLOC_USABLE_SIZE 0
760
761#undef SANITIZER_INTERCEPT_MCHECK_MPROBE
762#define SANITIZER_INTERCEPT_MCHECK_MPROBE 0
763
764#undef SANITIZER_INTERCEPT_WCSLEN
765#define SANITIZER_INTERCEPT_WCSLEN 0
766
767#undef SANITIZER_INTERCEPT_WCSCAT
768#define SANITIZER_INTERCEPT_WCSCAT 0
769
770#undef SANITIZER_INTERCEPT_WCSDUP
771#define SANITIZER_INTERCEPT_WCSDUP 0
772
773#undef SANITIZER_INTERCEPT_SIGNAL_AND_SIGACTION
774#define SANITIZER_INTERCEPT_SIGNAL_AND_SIGACTION 0
775
776#undef SANITIZER_INTERCEPT_BSD_SIGNAL
777#define SANITIZER_INTERCEPT_BSD_SIGNAL 0
778
779#undef SANITIZER_INTERCEPT_ACCT
780#define SANITIZER_INTERCEPT_ACCT 0
781
782#undef SANITIZER_INTERCEPT_USER_FROM_UID
783#define SANITIZER_INTERCEPT_USER_FROM_UID 0
784
785#undef SANITIZER_INTERCEPT_UID_FROM_USER
786#define SANITIZER_INTERCEPT_UID_FROM_USER 0
787
788#undef SANITIZER_INTERCEPT_GROUP_FROM_GID
789#define SANITIZER_INTERCEPT_GROUP_FROM_GID 0
790
791#undef SANITIZER_INTERCEPT_GID_FROM_GROUP
792#define SANITIZER_INTERCEPT_GID_FROM_GROUP 0
793
794#undef SANITIZER_INTERCEPT_ACCESS
795#define SANITIZER_INTERCEPT_ACCESS 0
796
797#undef SANITIZER_INTERCEPT_FACCESSAT
798#define SANITIZER_INTERCEPT_FACCESSAT 0
799
800#undef SANITIZER_INTERCEPT_GETGROUPLIST
801#define SANITIZER_INTERCEPT_GETGROUPLIST 0
802
803#undef SANITIZER_INTERCEPT_STRLCPY
804#define SANITIZER_INTERCEPT_STRLCPY 0
805
806#undef SANITIZER_INTERCEPT_NAME_TO_HANDLE_AT
807#define SANITIZER_INTERCEPT_NAME_TO_HANDLE_AT 0
808
809#undef SANITIZER_INTERCEPT_OPEN_BY_HANDLE_AT
810#define SANITIZER_INTERCEPT_OPEN_BY_HANDLE_AT 0
811
812#undef SANITIZER_INTERCEPT_READLINK
813#define SANITIZER_INTERCEPT_READLINK 0
814
815#undef SANITIZER_INTERCEPT_READLINKAT
816#define SANITIZER_INTERCEPT_READLINKAT 0
817
818#undef SANITIZER_INTERCEPT_DEVNAME
819#define SANITIZER_INTERCEPT_DEVNAME 0
820
821#undef SANITIZER_INTERCEPT_DEVNAME_R
822#define SANITIZER_INTERCEPT_DEVNAME_R 0
823
824#undef SANITIZER_INTERCEPT_FGETLN
825#define SANITIZER_INTERCEPT_FGETLN 0
826
827#undef SANITIZER_INTERCEPT_STRMODE
828#define SANITIZER_INTERCEPT_STRMODE 0
829
830#undef SANITIZER_INTERCEPT_TTYENT
831#define SANITIZER_INTERCEPT_TTYENT 0
832
833#undef SANITIZER_INTERCEPT_TTYENTPATH
834#define SANITIZER_INTERCEPT_TTYENTPATH 0
835
836#undef SANITIZER_INTERCEPT_PROTOENT
837#define SANITIZER_INTERCEPT_PROTOENT 0
838
839#undef SANITIZER_INTERCEPT_PROTOENT_R
840#define SANITIZER_INTERCEPT_PROTOENT_R 0
841
842#undef SANITIZER_INTERCEPT_NETENT
843#define SANITIZER_INTERCEPT_NETENT 0
844
845#undef SANITIZER_INTERCEPT_SETVBUF
846#define SANITIZER_INTERCEPT_SETVBUF 0
847
848#undef SANITIZER_INTERCEPT_GETMNTINFO
849#define SANITIZER_INTERCEPT_GETMNTINFO 0
850
851#undef SANITIZER_INTERCEPT_MI_VECTOR_HASH
852#define SANITIZER_INTERCEPT_MI_VECTOR_HASH 0
853
854#undef SANITIZER_INTERCEPT_GETVFSSTAT
855#define SANITIZER_INTERCEPT_GETVFSSTAT 0
856
857#undef SANITIZER_INTERCEPT_REGEX
858#define SANITIZER_INTERCEPT_REGEX 0
859
860#undef SANITIZER_INTERCEPT_REGEXSUB
861#define SANITIZER_INTERCEPT_REGEXSUB 0
862
863#undef SANITIZER_INTERCEPT_FTS
864#define SANITIZER_INTERCEPT_FTS 0
865
866#undef SANITIZER_INTERCEPT_SYSCTL
867#define SANITIZER_INTERCEPT_SYSCTL 0
868
869#undef SANITIZER_INTERCEPT_ASYSCTL
870#define SANITIZER_INTERCEPT_ASYSCTL 0
871
872#undef SANITIZER_INTERCEPT_SYSCTLGETMIBINFO
873#define SANITIZER_INTERCEPT_SYSCTLGETMIBINFO 0
874
875#undef SANITIZER_INTERCEPT_NL_LANGINFO
876#define SANITIZER_INTERCEPT_NL_LANGINFO 0
877
878#undef SANITIZER_INTERCEPT_MODCTL
879#define SANITIZER_INTERCEPT_MODCTL 0
880
881#undef SANITIZER_INTERCEPT_CAPSICUM
882#define SANITIZER_INTERCEPT_CAPSICUM 0
883
884#undef SANITIZER_INTERCEPT_STRTONUM
885#define SANITIZER_INTERCEPT_STRTONUM 0
886
887#undef SANITIZER_INTERCEPT_FPARSELN
888#define SANITIZER_INTERCEPT_FPARSELN 0
889
890#undef SANITIZER_INTERCEPT_STATVFS1
891#define SANITIZER_INTERCEPT_STATVFS1 0
892
893#undef SANITIZER_INTERCEPT_STRTOI
894#define SANITIZER_INTERCEPT_STRTOI 0
895
896#undef SANITIZER_INTERCEPT_CAPSICUM
897#define SANITIZER_INTERCEPT_CAPSICUM 0
898
899#undef SANITIZER_INTERCEPT_SHA1
900#define SANITIZER_INTERCEPT_SHA1 0
901
902#undef SANITIZER_INTERCEPT_MD4
903#define SANITIZER_INTERCEPT_MD4 0
904
905#undef SANITIZER_INTERCEPT_RMD160
906#define SANITIZER_INTERCEPT_RMD160 0
907
908#undef SANITIZER_INTERCEPT_MD5
909#define SANITIZER_INTERCEPT_MD5 0
910
911#undef SANITIZER_INTERCEPT_FSEEK
912#define SANITIZER_INTERCEPT_FSEEK 0
913
914#undef SANITIZER_INTERCEPT_MD2
915#define SANITIZER_INTERCEPT_MD2 0
916
917#undef SANITIZER_INTERCEPT_SHA2
918#define SANITIZER_INTERCEPT_SHA2 0
919
920#undef SANITIZER_INTERCEPT_CDB
921#define SANITIZER_INTERCEPT_CDB 0
922
923#undef SANITIZER_INTERCEPT_VIS
924#define SANITIZER_INTERCEPT_VIS 0
925
926#undef SANITIZER_INTERCEPT_POPEN
927#define SANITIZER_INTERCEPT_POPEN 0
928
929#undef SANITIZER_INTERCEPT_POPENVE
930#define SANITIZER_INTERCEPT_POPENVE 0
931
932#undef SANITIZER_INTERCEPT_PCLOSE
933#define SANITIZER_INTERCEPT_PCLOSE 0
934
935#undef SANITIZER_INTERCEPT_FUNOPEN
936#define SANITIZER_INTERCEPT_FUNOPEN 0
937
938#undef SANITIZER_INTERCEPT_FUNOPEN2
939#define SANITIZER_INTERCEPT_FUNOPEN2 0
940
941#undef SANITIZER_INTERCEPT_GETFSENT
942#define SANITIZER_INTERCEPT_GETFSENT 0
943
944#undef SANITIZER_INTERCEPT_ARC4RANDOM
945#define SANITIZER_INTERCEPT_ARC4RANDOM 0
946
947#undef SANITIZER_INTERCEPT_FDEVNAME
948#define SANITIZER_INTERCEPT_FDEVNAME 0
949
950#undef SANITIZER_INTERCEPT_GETUSERSHELL
951#define SANITIZER_INTERCEPT_GETUSERSHELL 0
952
953#undef SANITIZER_INTERCEPT_SL_INIT
954#define SANITIZER_INTERCEPT_SL_INIT 0
955
956#undef SANITIZER_INTERCEPT_GETRANDOM
957#define SANITIZER_INTERCEPT_GETRANDOM 0
958
959#undef SANITIZER_INTERCEPT___CXA_ATEXIT
960#define SANITIZER_INTERCEPT___CXA_ATEXIT 0
961
962#undef SANITIZER_INTERCEPT_ATEXIT
963#define SANITIZER_INTERCEPT_ATEXIT 0
964
965#undef SANITIZER_INTERCEPT_PTHREAD_ATFORK
966#define SANITIZER_INTERCEPT_PTHREAD_ATFORK 0
967
968#undef SANITIZER_INTERCEPT_GETENTROPY
969#define SANITIZER_INTERCEPT_GETENTROPY 0
970
971#undef SANITIZER_INTERCEPT_QSORT
972#define SANITIZER_INTERCEPT_QSORT 0
973
974#undef SANITIZER_INTERCEPT_QSORT_R
975#define SANITIZER_INTERCEPT_QSORT_R 0
976
977#undef SANITIZER_INTERCEPT_BSEARCH
978#define SANITIZER_INTERCEPT_BSEARCH 0
979
980#undef SANITIZER_INTERCEPT_SIGALTSTACK
981#define SANITIZER_INTERCEPT_SIGALTSTACK 0
982
983#undef SANITIZER_INTERCEPT_UNAME
984#define SANITIZER_INTERCEPT_UNAME 0
985
986#undef SANITIZER_INTERCEPT___XUNAME
987#define SANITIZER_INTERCEPT___XUNAME 0
988
989#undef SANITIZER_INTERCEPT_FLOPEN
990#define SANITIZER_INTERCEPT_FLOPEN 0
991
992#undef SANITIZER_INTERCEPT_PROCCTL
993#define SANITIZER_INTERCEPT_PROCCTL 0
994
995#undef SANITIZER_INTERCEPT_HEXDUMP
996#define SANITIZER_INTERCEPT_HEXDUMP 0
997
998#undef SANITIZER_INTERCEPT_ARGP_PARSE
999#define SANITIZER_INTERCEPT_ARGP_PARSE 0
1000
1001#endif // HWASAN_PLATFORM_INTERCEPTORS_H
1002

source code of compiler-rt/lib/hwasan/hwasan_platform_interceptors.h