D5363: fuzz: grep away HAVE_GETC_UNLOCKED in pyconfig.h to avoid msan badness
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Tue Dec 4 07:47:45 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG54554ed8d9bb: fuzz: grep away HAVE_GETC_UNLOCKED in pyconfig.h to avoid msan badness (authored by durin42, committed by ).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D5363?vs=12688&id=12693#toc
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5363?vs=12688&id=12693
REVISION DETAIL
https://phab.mercurial-scm.org/D5363
AFFECTED FILES
contrib/fuzz/Makefile
CHANGE DETAILS
diff --git a/contrib/fuzz/Makefile b/contrib/fuzz/Makefile
--- a/contrib/fuzz/Makefile
+++ b/contrib/fuzz/Makefile
@@ -72,7 +72,9 @@
# TODO use the $OUT env var instead of hardcoding /out
/out/sanpy/bin/python:
- cd /Python-2.7.15/ && ./configure --without-pymalloc --prefix=$$OUT/sanpy CFLAGS="$(CFLAGS)" LDFLAGS=$$PYLDFLAGS && ASAN_OPTIONS=detect_leaks=0 make && make install
+ cd /Python-2.7.15/ ; ./configure --without-pymalloc --prefix=$$OUT/sanpy CFLAGS="$(CFLAGS)" LDFLAGS=$$PYLDFLAGS
+ cd /Python-2.7.15/ ; grep -v HAVE_GETC_UNLOCKED < pyconfig.h > tmp && mv tmp pyconfig.h
+ cd /Python-2.7.15/ ; ASAN_OPTIONS=detect_leaks=0 make && make install
sanpy: /out/sanpy/bin/python
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list