Lines Matching refs:arg
63 int do_action(const char* arg);
105 const char* arg = reinterpret_cast<const char*>(raw_arg); in thread_callback() local
106 return reinterpret_cast<void*>(static_cast<uintptr_t>(do_action(arg))); in thread_callback()
109 noinline int do_action_on_thread(const char* arg) { in do_action_on_thread() argument
111 pthread_create(&t, nullptr, thread_callback, const_cast<char*>(arg)); in do_action_on_thread()
228 noinline int do_action(const char* arg) { in do_action() argument
230 if (!strncmp(arg, "wait-", strlen("wait-"))) { in do_action()
233 return do_action(arg + strlen("wait-")); in do_action()
234 } else if (!strncmp(arg, "exhaustfd-", strlen("exhaustfd-"))) { in do_action()
239 return do_action(arg + strlen("exhaustfd-")); in do_action()
240 } else if (!strncmp(arg, "thread-", strlen("thread-"))) { in do_action()
241 return do_action_on_thread(arg + strlen("thread-")); in do_action()
245 if (!strcasecmp(arg, "SIGSEGV-non-null")) { in do_action()
247 } else if (!strcasecmp(arg, "smash-stack")) { in do_action()
250 } else if (!strcasecmp(arg, "stack-overflow")) { in do_action()
252 } else if (!strcasecmp(arg, "nostack")) { in do_action()
254 } else if (!strcasecmp(arg, "exit")) { in do_action()
256 } else if (!strcasecmp(arg, "call-null")) { in do_action()
258 } else if (!strcasecmp(arg, "crash") || !strcmp(arg, "SIGSEGV")) { in do_action()
260 } else if (!strcasecmp(arg, "abort")) { in do_action()
262 } else if (!strcasecmp(arg, "assert")) { in do_action()
264 } else if (!strcasecmp(arg, "assert2")) { in do_action()
267 } else if (!strcasecmp(arg, "fortify")) { in do_action()
274 } else if (!strcasecmp(arg, "fdsan_file")) { in do_action()
277 } else if (!strcasecmp(arg, "fdsan_dir")) { in do_action()
280 } else if (!strcasecmp(arg, "LOG(FATAL)")) { in do_action()
282 } else if (!strcasecmp(arg, "LOG_ALWAYS_FATAL")) { in do_action()
284 } else if (!strcasecmp(arg, "LOG_ALWAYS_FATAL_IF")) { in do_action()
286 } else if (!strcasecmp(arg, "SIGFPE")) { in do_action()
289 } else if (!strcasecmp(arg, "SIGILL")) { in do_action()
299 } else if (!strcasecmp(arg, "SIGTRAP")) { in do_action()
302 } else if (!strcasecmp(arg, "fprintf-NULL")) { in do_action()
304 } else if (!strcasecmp(arg, "readdir-NULL")) { in do_action()
306 } else if (!strcasecmp(arg, "strlen-NULL")) { in do_action()
308 } else if (!strcasecmp(arg, "pthread_join-NULL")) { in do_action()
310 } else if (!strcasecmp(arg, "heap-usage")) { in do_action()
312 } else if (!strcasecmp(arg, "leak")) { in do_action()
314 } else if (!strcasecmp(arg, "SIGSEGV-unmapped")) { in do_action()
319 } else if (!strcasecmp(arg, "seccomp")) { in do_action()
323 } else if (!strcasecmp(arg, "xom")) { in do_action()
328 } else if (!strcasecmp(arg, "kuser_helper_version")) { in do_action()
330 } else if (!strcasecmp(arg, "kuser_get_tls")) { in do_action()
332 } else if (!strcasecmp(arg, "kuser_cmpxchg")) { in do_action()
334 } else if (!strcasecmp(arg, "kuser_memory_barrier")) { in do_action()
336 } else if (!strcasecmp(arg, "kuser_cmpxchg64")) { in do_action()
339 } else if (!strcasecmp(arg, "no_new_privs")) { in do_action()