You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Whether reprl_initialize has been successfully performed on this context.
84
88
intinitialized;
85
-
89
+
86
90
// Read file descriptor of the control pipe. Only valid if a child process is running (i.e. pid is nonzero).
87
91
intctrl_in;
88
92
// Write file descriptor of the control pipe. Only valid if a child process is running (i.e. pid is nonzero).
89
93
intctrl_out;
90
-
94
+
91
95
// Data channel REPRL -> Child
92
96
structdata_channel*data_in;
93
97
// Data channel Child -> REPRL
@@ -98,8 +102,8 @@ struct reprl_context {
98
102
structdata_channel*child_stderr;
99
103
100
104
// PID of the child process. Will be zero if no child process is currently running.
101
-
intpid;
102
-
105
+
pid_tpid;
106
+
103
107
// Arguments and environment for the child process.
104
108
char**argv;
105
109
char**envp;
@@ -199,9 +203,9 @@ static int reprl_spawn_child(struct reprl_context* ctx)
199
203
#ifdef__linux__
200
204
// Use vfork() on Linux as that considerably improves the fuzzer performance. See also https://github.com/googleprojectzero/fuzzilli/issues/174
201
205
// Due to vfork, the code executed in the child process *must not* modify any memory apart from its stack, as it will share the page table of its parent.
0 commit comments