about summary refs log tree commit diff
path: root/qemu_mode/fastexit/fastexit.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-10-11 08:53:49 +0200
committervanhauser-thc <vh@thc.org>2022-10-11 08:53:49 +0200
commite6e82948bf95fab90466cb2dfa78457c4d2d80a6 (patch)
tree30236db4d02ab69a654abf2242baeb34813c32e4 /qemu_mode/fastexit/fastexit.c
parentc5008362c64c4c70d53f7533661c22307bfcbb6e (diff)
downloadafl++-e6e82948bf95fab90466cb2dfa78457c4d2d80a6.tar.gz
fastexit + code format
Diffstat (limited to 'qemu_mode/fastexit/fastexit.c')
-rw-r--r--qemu_mode/fastexit/fastexit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu_mode/fastexit/fastexit.c b/qemu_mode/fastexit/fastexit.c
new file mode 100644
index 00000000..44141af1
--- /dev/null
+++ b/qemu_mode/fastexit/fastexit.c
@@ -0,0 +1,6 @@
+#include <unistd.h>
+#include <stdlib.h>
+
+void exit(int status) {
+  _exit(status);
+}