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()
223 noinline int do_action(const char* arg) { in do_action() argument
225 if (!strncmp(arg, "wait-", strlen("wait-"))) { in do_action()
228 return do_action(arg + strlen("wait-")); in do_action()
229 } else if (!strncmp(arg, "exhaustfd-", strlen("exhaustfd-"))) { in do_action()
234 return do_action(arg + strlen("exhaustfd-")); in do_action()
235 } else if (!strncmp(arg, "thread-", strlen("thread-"))) { in do_action()
236 return do_action_on_thread(arg + strlen("thread-")); in do_action()
240 if (!strcasecmp(arg, "SIGSEGV-non-null")) { in do_action()
242 } else if (!strcasecmp(arg, "smash-stack")) { in do_action()
245 } else if (!strcasecmp(arg, "stack-overflow")) { in do_action()
247 } else if (!strcasecmp(arg, "nostack")) { in do_action()
249 } else if (!strcasecmp(arg, "exit")) { in do_action()
251 } else if (!strcasecmp(arg, "call-null")) { in do_action()
253 } else if (!strcasecmp(arg, "crash") || !strcmp(arg, "SIGSEGV")) { in do_action()
255 } else if (!strcasecmp(arg, "abort")) { in do_action()
257 } else if (!strcasecmp(arg, "assert")) { in do_action()
259 } else if (!strcasecmp(arg, "assert2")) { in do_action()
262 } else if (!strcasecmp(arg, "fortify")) { in do_action()
269 } else if (!strcasecmp(arg, "fdsan_file")) { in do_action()
272 } else if (!strcasecmp(arg, "fdsan_dir")) { in do_action()
275 } else if (!strcasecmp(arg, "LOG(FATAL)")) { in do_action()
277 } else if (!strcasecmp(arg, "LOG_ALWAYS_FATAL")) { in do_action()
279 } else if (!strcasecmp(arg, "LOG_ALWAYS_FATAL_IF")) { in do_action()
281 } else if (!strcasecmp(arg, "SIGFPE")) { in do_action()
284 } else if (!strcasecmp(arg, "SIGILL")) { in do_action()
294 } else if (!strcasecmp(arg, "SIGTRAP")) { in do_action()
297 } else if (!strcasecmp(arg, "fprintf-NULL")) { in do_action()
299 } else if (!strcasecmp(arg, "readdir-NULL")) { in do_action()
301 } else if (!strcasecmp(arg, "strlen-NULL")) { in do_action()
303 } else if (!strcasecmp(arg, "pthread_join-NULL")) { in do_action()
305 } else if (!strcasecmp(arg, "heap-usage")) { in do_action()
307 } else if (!strcasecmp(arg, "leak")) { in do_action()
309 } else if (!strcasecmp(arg, "SIGSEGV-unmapped")) { in do_action()
314 } else if (!strcasecmp(arg, "seccomp")) { in do_action()
318 } else if (!strcasecmp(arg, "kuser_helper_version")) { in do_action()
320 } else if (!strcasecmp(arg, "kuser_get_tls")) { in do_action()
322 } else if (!strcasecmp(arg, "kuser_cmpxchg")) { in do_action()
324 } else if (!strcasecmp(arg, "kuser_memory_barrier")) { in do_action()
326 } else if (!strcasecmp(arg, "kuser_cmpxchg64")) { in do_action()
329 } else if (!strcasecmp(arg, "no_new_privs")) { in do_action()