-
Notifications
You must be signed in to change notification settings - Fork 338
Description
It seems like there are some issues with the fuzzer's support of Windows targets. In particular, some of the Win32 API usage like
fuzzilli/Sources/libreprl/libreprl-windows.c
Line 195 in f31876f
if (CreatePipe(&output[PI_READ], &output[PI_WRITE], &sa, 0)) |
is incorrect (CreatePipe
returns 0 on failure, not on success). I also notice there isn't anywhere the data channel mappings are actually passed into the target, either via environment variable or CLI args, so I'm curious what the expected way for the target to discover the memory mapping is.
I'm wondering A) whether anyone has successfully used fuzzilli to target a JS engine running on Windows and B) whether there is a plan to support it for this use case? I harnessed a JS engine I'm interested in fuzzing that does run on Windows, but I've run into these issues which are blocking me from moving forward.