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
32 ###############################################################################
34 ###############################################################################
38 # Functions that return a value that depends on the input, but the output might
39 # not be necessarily data-dependent on the input.
40 fun:isalpha=functional
41 fun:isdigit=functional
42 fun:isprint=functional
43 fun:isxdigit=functional
44 fun:isalnum=functional
45 fun:ispunct=functional
46 fun:isspace=functional
47 fun:tolower=functional
48 fun:toupper=functional
50 # Functions that return a value that is data-dependent on the input.
67 # Functions that produce an output that does not depend on the input (shadow is
68 # zeroed automatically).
69 fun:__assert_fail=discard
70 fun:__ctype_b_loc=discard
71 fun:__cxa_atexit=discard
72 fun:__errno_location=discard
73 fun:__newlocale=discard
75 fun:__sigsetjmp=discard
76 fun:__uselocale=discard
77 fun:__wctype_l=discard
105 fun:getpagesize=discard
115 fun:posix_fadvise=discard
116 fun:posix_memalign=discard
119 fun:pthread_sigmask=discard
126 fun:sched_getcpu=discard
127 fun:sched_get_priority_max=discard
128 fun:sched_setaffinity=discard
129 fun:sched_yield=discard
130 fun:sem_destroy=discard
137 fun:setsockopt=discard
147 fun:uselocale=discard
149 # Functions that produce output does not depend on the input (need to zero the
152 fun:clock_gettime=custom
157 fun:get_current_dir_name=custom
158 fun:gethostname=custom
164 fun:socketpair=custom
168 # Functions that produce an output that depend on the input (propagate the
172 fun:localtime_r=custom
184 # Functions that produce an output that is computed from the input, but is not
185 # necessarily data dependent.
188 fun:strcasecmp=custom
192 fun:strncasecmp=custom
197 # Functions which take action based on global state, such as running a callback
198 # set by a sepperate function.
201 # Functions that take a callback (wrap the callback manually).
202 fun:dl_iterate_phdr=custom
204 fun:getpwuid_r=custom
206 fun:sched_getaffinity=custom
208 fun:sigemptyset=custom
210 fun:gettimeofday=custom
220 ###############################################################################
222 ###############################################################################
223 fun:pthread_equal=discard
224 fun:pthread_getspecific=discard
225 fun:pthread_key_create=discard
226 fun:pthread_key_delete=discard
227 fun:pthread_mutex_destroy=discard
228 fun:pthread_mutex_init=discard
229 fun:pthread_mutex_lock=discard
230 fun:pthread_mutex_trylock=discard
231 fun:pthread_mutex_unlock=discard
232 fun:pthread_mutexattr_destroy=discard
233 fun:pthread_mutexattr_init=discard
234 fun:pthread_mutexattr_settype=discard
235 fun:pthread_once=discard
236 fun:pthread_self=discard
237 fun:pthread_setspecific=discard
239 # Functions that take a callback (wrap the callback manually).
240 fun:pthread_create=custom
242 ###############################################################################
244 ###############################################################################
245 # Functions that are written in asm or are called from asm.
246 fun:ffi_call_unix64=uninstrumented
247 fun:ffi_call_unix64=discard
248 fun:ffi_closure_unix64_inner=uninstrumented
249 fun:ffi_closure_unix64_inner=discard
250 fun:ffi_closure_unix64=uninstrumented
251 fun:ffi_closure_unix64=discard
252 fun:__go_get_closure=uninstrumented
253 fun:__go_get_closure=discard
254 fun:__go_makefunc_can_recover=uninstrumented
255 fun:__go_makefunc_can_recover=discard
256 fun:__go_makefunc_returning=uninstrumented
257 fun:__go_makefunc_returning=discard
258 fun:reflect.MakeFuncStubGo=uninstrumented
259 fun:reflect.MakeFuncStubGo=discard
260 fun:reflect.makeFuncStub=uninstrumented
261 fun:reflect.makeFuncStub=discard
264 ###############################################################################
266 ###############################################################################
267 # Replaces __sanitizer_cov_trace_cmp with __dfsw___sanitizer_cov_trace_cmp
268 fun:__sanitizer_cov_trace_cmp1=custom
269 fun:__sanitizer_cov_trace_cmp1=uninstrumented
270 fun:__sanitizer_cov_trace_cmp2=custom
271 fun:__sanitizer_cov_trace_cmp2=uninstrumented
272 fun:__sanitizer_cov_trace_cmp4=custom
273 fun:__sanitizer_cov_trace_cmp4=uninstrumented
274 fun:__sanitizer_cov_trace_cmp8=custom
275 fun:__sanitizer_cov_trace_cmp8=uninstrumented
276 fun:__sanitizer_cov_trace_const_cmp1=custom
277 fun:__sanitizer_cov_trace_const_cmp1=uninstrumented
278 fun:__sanitizer_cov_trace_const_cmp2=custom
279 fun:__sanitizer_cov_trace_const_cmp2=uninstrumented
280 fun:__sanitizer_cov_trace_const_cmp4=custom
281 fun:__sanitizer_cov_trace_const_cmp4=uninstrumented
282 fun:__sanitizer_cov_trace_const_cmp8=custom
283 fun:__sanitizer_cov_trace_const_cmp8=uninstrumented
284 # Similar for __sanitizer_cov_trace_switch
285 fun:__sanitizer_cov_trace_switch=custom
286 fun:__sanitizer_cov_trace_switch=uninstrumented
288 # Ignores all other __sanitizer callbacks.
289 fun:__sanitizer_cov=uninstrumented
290 fun:__sanitizer_cov=discard
291 fun:__sanitizer_cov_module_init=uninstrumented
292 fun:__sanitizer_cov_module_init=discard
293 fun:__sanitizer_cov_with_check=uninstrumented
294 fun:__sanitizer_cov_with_check=discard
295 fun:__sanitizer_set_death_callback=uninstrumented
296 fun:__sanitizer_set_death_callback=discard
297 fun:__sanitizer_update_counter_bitset_and_clear_counters=uninstrumented
298 fun:__sanitizer_update_counter_bitset_and_clear_counters=discard
299 fun:__sanitizer_cov_trace_pc*=uninstrumented
300 fun:__sanitizer_cov_trace_pc*=discard
301 fun:__sanitizer_cov_pcs_init=uninstrumented
302 fun:__sanitizer_cov_pcs_init=discard
304 # Ignores the dfsan wrappers.
305 fun:__dfsw_*=uninstrumented