clusterfuzz icon indicating copy to clipboard operation
clusterfuzz copied to clipboard

Running Python 2 blackbox fuzzers from Python 3.

Open oliverchang opened this issue 5 years ago • 3 comments

As is, running Python 2 black box fuzzers does not work from the Python 3 bot, as we invoke "python run.py ..." where python is Python 3. We need to figure out a clean solution here to continue supporting old fuzzers.

oliverchang avatar Mar 16 '20 02:03 oliverchang

Easiest short term solution here is probably to explicitly invoke python 2, but ideally we would get rid of Python 2 from our docker image completely. Another potential complexity is if any existing fuzzers import from ClusterFuzz src modules or depend on packages installed on the system.

oliverchang avatar Mar 16 '20 02:03 oliverchang

@mbarbella-chromium would you be able to help evaluate what the best approach is here? Maybe we can easily convert the existing fuzzers to Python 3 and keep things clean? Might also be a good chance to clean up or delete any fuzzers that we don't care about anymore.

oliverchang avatar Mar 16 '20 02:03 oliverchang

I think initially we'll need to keep Python 2 on the image to deal with Peach as well. I'm happy to own migrating the rest of the things over, but in the short term let's just change the black box fuzzers to run with python2.

mbarbella-chromium avatar Mar 16 '20 21:03 mbarbella-chromium