Closed chennbnbnb closed 9 months ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
I use
./FuzzILTool --compile
cmd which convert*.js
to*.fzil
to create my one corpus, But I found./FuzzILTool --compile
will stuck when input js program is complex, here is an exampleAssume the above file is saved in
/tmp/a.js
it work well if I call
node parser.js
manaullyAfter analysis, I think it is Pipe() in runParserScript() that causes the deadlock.
Pipe()
will receiver both stdout and stderr, andnode parser.js
will print a lot in stdout. WhenPipe()
is full, it blocks on stdout, buttask.waitUntilExit()
is also waiting for it to complete at the same time, thus forming a deadlock.the solution is sample: ignore stdout, only receiver stderr