[libFuzzer] communicate through pipe to subprocess for MinimizeCrashInput
For CleanseCrashInput, discards stdout output anyway since it is not used. These changes are to defend against aggressive PID recycle on windows to reduce the chance of contention on files. Using pipe instead of file also workaround the problem that when the process is spawned by llvm-lit, the aborted process keeps a handle to the output file such that the output file can not be removed. This will cause random test failures. https://devblogs.microsoft.com/oldnewthing/20110107-00/?p=11803 Reviewers: kcc, vitalybuka Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D73329
Loading
Please sign in to comment