File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change 41
41
#include <CoreFoundation/CoreFoundation.h>
42
42
#endif
43
43
44
- static void * qemu_default_main (void * opaque )
45
- {
46
- int status ;
47
-
48
- replay_mutex_lock ();
49
- bql_lock ();
50
- status = qemu_main_loop ();
51
- qemu_cleanup (status );
52
- bql_unlock ();
53
- replay_mutex_unlock ();
54
-
55
- exit (status );
56
- }
57
-
58
44
int (* qemu_main )(void );
59
45
60
46
#ifdef CONFIG_DARWIN
@@ -69,6 +55,21 @@ int (*qemu_main)(void) = os_darwin_cfrunloop_main;
69
55
//// --- Begin LibAFL code ---
70
56
#ifndef AS_LIB
71
57
//// --- End LibAFL code ---
58
+
59
+ static void * qemu_default_main (void * opaque )
60
+ {
61
+ int status ;
62
+
63
+ replay_mutex_lock ();
64
+ bql_lock ();
65
+ status = qemu_main_loop ();
66
+ qemu_cleanup (status );
67
+ bql_unlock ();
68
+ replay_mutex_unlock ();
69
+
70
+ exit (status );
71
+ }
72
+
72
73
int main (int argc , char * * argv )
73
74
{
74
75
qemu_init (argc , argv );
@@ -84,6 +85,7 @@ int main(int argc, char **argv)
84
85
g_assert_not_reached ();
85
86
}
86
87
}
88
+
87
89
//// --- Begin LibAFL code ---
88
90
#endif
89
91
//// --- End LibAFL code ---
You can’t perform that action at this time.
0 commit comments