MCPcopy Create free account
hub / github.com/bsauce/kernel-exploit-factory / die

Function die

CVE-2021-4154/exploit/exploit-ROP.c:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62static void die(const char *fmt, ...) {
63 va_list params;
64
65 va_start(params, fmt);
66 vfprintf(stderr, fmt, params);
67 va_end(params);
68 exit(1);
69}
70
71static void use_temporary_dir(void) {
72 system("rm -rf exp_dir; mkdir exp_dir; touch exp_dir/data;");

Callers 14

setup_uafFunction · 0.70
set_uaffdFunction · 0.70
init_unshareFunction · 0.50
bind_cpuFunction · 0.50
init_nl_sockFunction · 0.50
trigger_vulnFunction · 0.50
init_msqFunction · 0.50
init_sockFunction · 0.50
spray_skbuff_dataFunction · 0.50
free_skbuff_dataFunction · 0.50
packet_socket_setupFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected