diff options
author | van Hauser <vh@thc.org> | 2020-07-13 17:57:02 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-07-13 17:57:02 +0200 |
commit | 4d929f80fbf22eeb09612a575bcd1a4141b9a8a9 (patch) | |
tree | cec725521990808bb9888a01151733d0b7b49aed /.custom-format.py | |
parent | 6b79e1f76dee1dc5775b1e10edfa5b2180f553f8 (diff) | |
download | AFLplusplus-4d929f80fbf22eeb09612a575bcd1a4141b9a8a9.tar.gz |
fix for laf intel float split not enabled if not not on a tty
Diffstat (limited to '.custom-format.py')
-rwxr-xr-x | .custom-format.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.custom-format.py b/.custom-format.py index 6f1b0bfa..60f6d9c3 100755 --- a/.custom-format.py +++ b/.custom-format.py @@ -32,7 +32,8 @@ if CLANG_FORMAT_BIN is None: p = subprocess.Popen(["clang-format-10", "--version"], stdout=subprocess.PIPE) o, _ = p.communicate() o = str(o, "utf-8") - o = o[len("clang-format version "):].strip() + o = re.sub(r".*ersion ", "", o) + #o = o[len("clang-format version "):].strip() o = o[:o.find(".")] o = int(o) except: |