[libFuzzer] Make DataFlow scripts Python3 compatible.
authorMax Moroz <mmoroz@chromium.org>
Thu, 4 Apr 2019 21:20:36 +0000 (21:20 +0000)
committerMax Moroz <mmoroz@chromium.org>
Thu, 4 Apr 2019 21:20:36 +0000 (21:20 +0000)
commitc815210013f27cfac07d6b53b47e8ac53e86afa3
treec611b67658237ef871cf05ff30fafe3e6206d0fc
parent955b5a633138370cb5877f853f22ea86545adc36
[libFuzzer] Make DataFlow scripts Python3 compatible.

Summary:
Python2 will hit end of life soon: https://pythonclock.org/
This change also makes the integration with OSS-Fuzz a bit simpler:
https://github.com/google/oss-fuzz/issues/1632

Reviewers: morehouse, kcc

Reviewed By: morehouse

Subscribers: delcypher, #sanitizers, llvm-commits

Tags: #llvm, #sanitizers

Differential Revision: https://reviews.llvm.org/D60282

llvm-svn: 357726
compiler-rt/lib/fuzzer/scripts/collect_data_flow.py
compiler-rt/lib/fuzzer/scripts/merge_data_flow.py