mirror of https://github.com/google/oss-fuzz.git
Use hardcoded FUZZING_LANGUAGE to unbreak CIFuzz. (#3844)
This commit is contained in:
parent
c066a4232f
commit
8d5aef84db
|
@ -136,9 +136,16 @@ def build_fuzzers(project_name,
|
|||
|
||||
# Build Fuzzers using docker run.
|
||||
command = [
|
||||
'--cap-add', 'SYS_PTRACE', '-e', 'FUZZING_ENGINE=' + DEFAULT_ENGINE, '-e',
|
||||
'SANITIZER=' + DEFAULT_SANITIZER, '-e',
|
||||
'ARCHITECTURE=' + DEFAULT_ARCHITECTURE
|
||||
'--cap-add',
|
||||
'SYS_PTRACE',
|
||||
'-e',
|
||||
'FUZZING_ENGINE=' + DEFAULT_ENGINE,
|
||||
'-e',
|
||||
'SANITIZER=' + DEFAULT_SANITIZER,
|
||||
'-e',
|
||||
'ARCHITECTURE=' + DEFAULT_ARCHITECTURE,
|
||||
'-e',
|
||||
'FUZZING_LANGUAGE=c++', # FIXME: Add proper support.
|
||||
]
|
||||
container = utils.get_container_name()
|
||||
if container:
|
||||
|
@ -244,9 +251,14 @@ def check_fuzzer_build(out_dir):
|
|||
return False
|
||||
|
||||
command = [
|
||||
'--cap-add', 'SYS_PTRACE', '-e', 'FUZZING_ENGINE=' + DEFAULT_ENGINE, '-e',
|
||||
'SANITIZER=' + DEFAULT_SANITIZER, '-e',
|
||||
'ARCHITECTURE=' + DEFAULT_ARCHITECTURE
|
||||
'--cap-add',
|
||||
'SYS_PTRACE',
|
||||
'-e',
|
||||
'FUZZING_ENGINE=' + DEFAULT_ENGINE,
|
||||
'-e',
|
||||
'SANITIZER=' + DEFAULT_SANITIZER,
|
||||
'-e',
|
||||
'ARCHITECTURE=' + DEFAULT_ARCHITECTURE,
|
||||
]
|
||||
|
||||
# Set ALLOWED_BROKEN_TARGETS_PERCENTAGE in docker if specified by user.
|
||||
|
|
Loading…
Reference in New Issue