1 fun:main=uninstrumented
4 ###############################################################################
5 # DFSan interface functions
6 ###############################################################################
7 fun:dfsan_union=uninstrumented
8 fun:dfsan_union=discard
9 fun:dfsan_create_label=uninstrumented
10 fun:dfsan_create_label=discard
11 fun:dfsan_set_label=uninstrumented
12 fun:dfsan_set_label=discard
13 fun:dfsan_add_label=uninstrumented
14 fun:dfsan_add_label=discard
15 fun:dfsan_get_label=uninstrumented
16 fun:dfsan_get_label=custom
17 fun:dfsan_read_label=uninstrumented
18 fun:dfsan_read_label=discard
19 fun:dfsan_get_label_count=uninstrumented
20 fun:dfsan_get_label_count=discard
21 fun:dfsan_get_label_info=uninstrumented
22 fun:dfsan_get_label_info=discard
23 fun:dfsan_has_label=uninstrumented
24 fun:dfsan_has_label=discard
25 fun:dfsan_has_label_with_desc=uninstrumented
26 fun:dfsan_has_label_with_desc=discard
27 fun:dfsan_set_write_callback=uninstrumented
28 fun:dfsan_set_write_callback=custom
29 fun:dfsan_flush=uninstrumented
30 fun:dfsan_flush=discard
31 fun:dfsan_print_origin_trace=uninstrumented
32 fun:dfsan_print_origin_trace=discard
33 fun:dfsan_print_origin_id_trace=uninstrumented
34 fun:dfsan_print_origin_id_trace=discard
35 fun:dfsan_sprint_origin_trace=uninstrumented
36 fun:dfsan_sprint_origin_trace=discard
37 fun:dfsan_sprint_origin_id_trace=uninstrumented
38 fun:dfsan_sprint_origin_id_trace=discard
39 fun:dfsan_sprint_stack_trace=uninstrumented
40 fun:dfsan_sprint_stack_trace=discard
41 fun:dfsan_get_origin=uninstrumented
42 fun:dfsan_get_origin=custom
43 fun:dfsan_read_origin_of_first_taint=uninstrumented
44 fun:dfsan_read_origin_of_first_taint=discard
45 fun:dfsan_get_init_origin=uninstrumented
46 fun:dfsan_get_init_origin=discard
47 fun:dfsan_get_track_origins=uninstrumented
48 fun:dfsan_get_track_origins=discard
49 fun:dfsan_set_conditional_callback=uninstrumented
50 fun:dfsan_set_conditional_callback=discard
51 fun:dfsan_get_labels_in_signal_conditional=uninstrumented
52 fun:dfsan_get_labels_in_signal_conditional=discard
53 fun:dfsan_set_reaches_function_callback=uninstrumented
54 fun:dfsan_set_reaches_function_callback=discard
55 fun:dfsan_get_labels_in_signal_reaches_function=uninstrumented
56 fun:dfsan_get_labels_in_signal_reaches_function=discard
57 fun:dfsan_reaches_function_callback=uninstrumented
58 fun:dfsan_reaches_function_callback=discard
60 ###############################################################################
62 ###############################################################################
63 # Functions of memory allocators
64 fun:__libc_memalign=discard
65 fun:aligned_alloc=discard
71 fun:malloc_stats=discard
72 fun:malloc_usable_size=discard
75 fun:posix_memalign=discard
78 fun:reallocarray=discard
81 # Functions that return a value that depends on the input, but the output might
82 # not be necessarily data-dependent on the input.
83 fun:isalpha=functional
84 fun:isdigit=functional
85 fun:isprint=functional
86 fun:isxdigit=functional
87 fun:isalnum=functional
88 fun:ispunct=functional
89 fun:isspace=functional
90 fun:tolower=functional
91 fun:_tolower=functional
92 fun:toupper=functional
94 # Functions that return a value that is data-dependent on the input.
95 fun:__isinf=functional
96 fun:__isinff=functional
97 fun:__signbit=functional
98 fun:__signbitf=functional
99 fun:__signbitl=functional
106 fun:finite=functional
107 fun:finitef=functional
108 fun:finitel=functional
112 fun:isinff=functional
113 fun:isinfl=functional
115 fun:isnanf=functional
116 fun:isnanl=functional
119 fun:log1pf=functional
120 fun:log1pl=functional
125 fun:nextafter=functional
126 fun:nextafterf=functional
127 fun:nextafterl=functional
128 fun:nexttoward=functional
129 fun:nexttowardf=functional
130 fun:nexttowardl=functional
140 # Functions that produce an output that does not depend on the input (shadow is
141 # zeroed automatically).
142 fun:__assert_fail=discard
143 fun:__cmsg_nxthdr=discard
144 fun:__ctype_b_loc=discard
145 fun:__cxa_atexit=discard
146 fun:__errno_location=discard
147 fun:__newlocale=discard
149 fun:__sigsetjmp=discard
150 fun:__uselocale=discard
151 fun:__wctype_l=discard
163 fun:epoll_create=discard
164 fun:epoll_create1=discard
165 fun:epoll_ctl=discard
183 fun:getpagesize=discard
194 fun:posix_fadvise=discard
197 fun:pthread_sigmask=discard
204 fun:sched_getcpu=discard
205 fun:sched_get_priority_max=discard
206 fun:sched_setaffinity=discard
207 fun:sched_yield=discard
208 fun:sem_destroy=discard
215 fun:setsockopt=discard
225 fun:uselocale=discard
228 # Functions that produce output does not depend on the input (need to zero the
230 fun:_dl_get_tls_static_info=custom
231 fun:clock_gettime=custom
233 fun:epoll_wait=custom
237 fun:get_current_dir_name=custom
238 fun:getentropy=custom
239 fun:gethostname=custom
240 fun:getpeername=custom
243 fun:getsockname=custom
244 fun:getsockopt=custom
250 fun:sigaltstack=custom
251 fun:socketpair=custom
255 # Functions that produce an output that depend on the input (propagate the
259 fun:localtime_r=custom
274 # Functions that produce an output that is computed from the input, but is not
275 # necessarily data dependent.
279 fun:strcasecmp=custom
284 fun:strncasecmp=custom
291 # Functions which take action based on global state, such as running a callback
292 # set by a separate function.
295 # Functions that take a callback (wrap the callback manually).
296 fun:dl_iterate_phdr=custom
298 fun:getpwuid_r=custom
300 fun:sched_getaffinity=custom
302 fun:sigemptyset=custom
305 fun:gettimeofday=custom
313 fun:__isoc99_sscanf=custom
322 ###############################################################################
324 ###############################################################################
325 fun:__pthread_register_cancel=discard
326 fun:__pthread_unregister_cancel=discard
327 fun:pthread_attr_destroy=discard
328 fun:pthread_attr_getaffinity_np=discard
329 fun:pthread_attr_getdetachstate=discard
330 fun:pthread_attr_getguardsize=discard
331 fun:pthread_attr_getinheritsched=discard
332 fun:pthread_attr_getschedparam=discard
333 fun:pthread_attr_getschedpolicy=discard
334 fun:pthread_attr_getscope=discard
335 fun:pthread_attr_getstack=discard
336 fun:pthread_attr_getstackaddr=disacrd
337 fun:pthread_attr_getstacksize=discard
338 fun:pthread_attr_init=discard
339 fun:pthread_attr_setaffinity_np=discard
340 fun:pthread_attr_setdetachstate=discard
341 fun:pthread_attr_setguardsize=discard
342 fun:pthread_attr_setinheritsched=discard
343 fun:pthread_attr_setschedparam=discard
344 fun:pthread_attr_setschedpolicy=discard
345 fun:pthread_attr_setscope=discard
346 fun:pthread_attr_setstack=discard
347 fun:pthread_attr_setstackaddr=discard
348 fun:pthread_attr_setstacksize=discard
349 fun:pthread_equal=discard
350 fun:pthread_getschedparam=discard
351 fun:pthread_getspecific=discard
352 fun:pthread_key_create=discard
353 fun:pthread_key_delete=discard
354 fun:pthread_mutex_destroy=discard
355 fun:pthread_mutex_init=discard
356 fun:pthread_mutex_lock=discard
357 fun:pthread_mutex_trylock=discard
358 fun:pthread_mutex_unlock=discard
359 fun:pthread_mutexattr_destroy=discard
360 fun:pthread_mutexattr_init=discard
361 fun:pthread_mutexattr_settype=discard
362 fun:pthread_rwlock_destroy=discard
363 fun:pthread_rwlock_init=discard
364 fun:pthread_rwlock_rdlock=discard
365 fun:pthread_rwlock_timedrdlock=discard
366 fun:pthread_rwlock_timedwrlock=discard
367 fun:pthread_rwlock_tryrdlock=discard
368 fun:pthread_rwlock_trywrlock=discard
369 fun:pthread_rwlock_wrlock=discard
370 fun:pthread_rwlock_unlock=discard
371 fun:pthread_setschedparam=discard
372 fun:pthread_setname_np=discard
373 fun:pthread_once=discard
374 fun:pthread_self=discard
375 fun:pthread_setspecific=discard
377 # Functions that take a callback (wrap the callback manually).
378 fun:pthread_create=custom
380 # Functions that produce output does not depend on the input (need to zero the
382 fun:pthread_join=custom
384 ###############################################################################
386 ###############################################################################
387 # Functions that are written in asm or are called from asm.
388 fun:ffi_call_unix64=uninstrumented
389 fun:ffi_call_unix64=discard
390 fun:ffi_closure_unix64_inner=uninstrumented
391 fun:ffi_closure_unix64_inner=discard
392 fun:ffi_closure_unix64=uninstrumented
393 fun:ffi_closure_unix64=discard
394 fun:__go_get_closure=uninstrumented
395 fun:__go_get_closure=discard
396 fun:__go_makefunc_can_recover=uninstrumented
397 fun:__go_makefunc_can_recover=discard
398 fun:__go_makefunc_returning=uninstrumented
399 fun:__go_makefunc_returning=discard
400 fun:reflect.MakeFuncStubGo=uninstrumented
401 fun:reflect.MakeFuncStubGo=discard
402 fun:reflect.makeFuncStub=uninstrumented
403 fun:reflect.makeFuncStub=discard
406 ###############################################################################
408 ###############################################################################
409 # Replaces __sanitizer_cov_trace_cmp with __dfsw___sanitizer_cov_trace_cmp
410 fun:__sanitizer_cov_trace_cmp1=custom
411 fun:__sanitizer_cov_trace_cmp1=uninstrumented
412 fun:__sanitizer_cov_trace_cmp2=custom
413 fun:__sanitizer_cov_trace_cmp2=uninstrumented
414 fun:__sanitizer_cov_trace_cmp4=custom
415 fun:__sanitizer_cov_trace_cmp4=uninstrumented
416 fun:__sanitizer_cov_trace_cmp8=custom
417 fun:__sanitizer_cov_trace_cmp8=uninstrumented
418 fun:__sanitizer_cov_trace_const_cmp1=custom
419 fun:__sanitizer_cov_trace_const_cmp1=uninstrumented
420 fun:__sanitizer_cov_trace_const_cmp2=custom
421 fun:__sanitizer_cov_trace_const_cmp2=uninstrumented
422 fun:__sanitizer_cov_trace_const_cmp4=custom
423 fun:__sanitizer_cov_trace_const_cmp4=uninstrumented
424 fun:__sanitizer_cov_trace_const_cmp8=custom
425 fun:__sanitizer_cov_trace_const_cmp8=uninstrumented
426 # Similar for __sanitizer_cov_trace_switch
427 fun:__sanitizer_cov_trace_switch=custom
428 fun:__sanitizer_cov_trace_switch=uninstrumented
430 # Ignores all other __sanitizer callbacks.
431 fun:__sanitizer_cov=uninstrumented
432 fun:__sanitizer_cov=discard
433 fun:__sanitizer_cov_module_init=uninstrumented
434 fun:__sanitizer_cov_module_init=discard
435 fun:__sanitizer_cov_with_check=uninstrumented
436 fun:__sanitizer_cov_with_check=discard
437 fun:__sanitizer_set_death_callback=uninstrumented
438 fun:__sanitizer_set_death_callback=discard
439 fun:__sanitizer_update_counter_bitset_and_clear_counters=uninstrumented
440 fun:__sanitizer_update_counter_bitset_and_clear_counters=discard
441 fun:__sanitizer_cov_trace_pc*=uninstrumented
442 fun:__sanitizer_cov_trace_pc*=discard
443 fun:__sanitizer_cov_pcs_init=uninstrumented
444 fun:__sanitizer_cov_pcs_init=discard
446 fun:__sanitizer_get_current_allocated_bytes=uninstrumented
447 fun:__sanitizer_get_current_allocated_bytes=discard
448 fun:__sanitizer_get_heap_size=uninstrumented
449 fun:__sanitizer_get_heap_size=discard
450 fun:__sanitizer_get_free_bytes=uninstrumented
451 fun:__sanitizer_get_free_bytes=discard
452 fun:__sanitizer_get_unmapped_bytes=uninstrumented
453 fun:__sanitizer_get_unmapped_bytes=discard
454 fun:__sanitizer_get_estimated_allocated_size=uninstrumented
455 fun:__sanitizer_get_estimated_allocated_size=discard
456 fun:__sanitizer_get_ownership=uninstrumented
457 fun:__sanitizer_get_ownership=discard
458 fun:__sanitizer_get_allocated_begin=uninstrumented
459 fun:__sanitizer_get_allocated_begin=discard
460 fun:__sanitizer_get_allocated_size=uninstrumented
461 fun:__sanitizer_get_allocated_size=discard
462 fun:__sanitizer_get_allocated_size_fast=uninstrumented
463 fun:__sanitizer_get_allocated_size_fast=discard
464 fun:__sanitizer_print_stack_trace=uninstrumented
465 fun:__sanitizer_print_stack_trace=discard
467 fun:TcmallocSlab_Internal_PushBatch_FixedShift=uninstrumented
468 fun:TcmallocSlab_Internal_PushBatch_FixedShift=discard
469 fun:TcmallocSlab_Internal_PushBatch_FixedShift_VCPU=uninstrumented
470 fun:TcmallocSlab_Internal_PushBatch_FixedShift_VCPU=discard
471 fun:TcmallocSlab_Internal_PerCpuCmpxchg64=uninstrumented
472 fun:TcmallocSlab_Internal_PerCpuCmpxchg64=discard
473 fun:TcmallocSlab_Internal_PerCpuCmpxchg64_VCPU=uninstrumented
474 fun:TcmallocSlab_Internal_PerCpuCmpxchg64_VCPU=discard
475 fun:TcmallocSlab_Internal_PopBatch_FixedShift=uninstrumented
476 fun:TcmallocSlab_Internal_PopBatch_FixedShift=discard
477 fun:TcmallocSlab_Internal_PopBatch_FixedShift_VCPU=uninstrumented
478 fun:TcmallocSlab_Internal_PopBatch_FixedShift_VCPU=discard
480 # Ignores the dfsan wrappers.
481 fun:__dfsw_*=uninstrumented
483 fun:__dfso_*=uninstrumented