mirror of https://github.com/google/oss-fuzz.git
idna, pyyaml, glom: cleanup build (#8956)
This variable is no longer needed by fuzz-introspector python version for these projects. Signed-off-by: David Korczynski <david@adalogics.com> Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
parent
4925ae2682
commit
f778ae5547
|
@ -15,9 +15,6 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# For fuzz-introspector
|
||||
export PYFUZZPACKAGE=$PWD/glom/
|
||||
|
||||
pip3 install .
|
||||
|
||||
# Build fuzzers in $OUT.
|
||||
|
|
|
@ -17,7 +17,7 @@ import atheris
|
|||
import sys
|
||||
|
||||
with atheris.instrument_imports():
|
||||
from glom import *
|
||||
import glom
|
||||
import json
|
||||
|
||||
|
||||
|
@ -26,8 +26,8 @@ def TestOneInput(data):
|
|||
|
||||
val = {'d': {'e': ['f']}}
|
||||
try:
|
||||
core.glom(val, fdp.ConsumeString(30))
|
||||
except core.PathAccessError:
|
||||
glom.core.glom(val, fdp.ConsumeString(30))
|
||||
except glom.core.PathAccessError:
|
||||
pass
|
||||
|
||||
# Create a random dictionary. In this case if any
|
||||
|
@ -42,8 +42,8 @@ def TestOneInput(data):
|
|||
|
||||
# Use random dict as input to glom
|
||||
try:
|
||||
core.glom(data, fdp.ConsumeString(30))
|
||||
except core.PathAccessError:
|
||||
glom.core.glom(data, fdp.ConsumeString(30))
|
||||
except glom.core.PathAccessError:
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
@ -15,9 +15,6 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# For fuzz-introspector
|
||||
export PYFUZZPACKAGE=$PWD/
|
||||
|
||||
pip3 install .
|
||||
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do
|
||||
compile_python_fuzzer $fuzzer
|
||||
|
|
|
@ -15,11 +15,7 @@
|
|||
#
|
||||
################################################################################
|
||||
cd pyyaml
|
||||
|
||||
# For fuzz-introspector
|
||||
export PYFUZZPACKAGE=$PWD/lib/
|
||||
|
||||
python3 ./setup.py --without-libyaml install
|
||||
pip3 install .
|
||||
|
||||
# Build fuzzers in $OUT.
|
||||
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do
|
||||
|
|
Loading…
Reference in New Issue