mirror of https://github.com/google/oss-fuzz.git
Add honggfuzz build in travis. (#3589)
* Add honggfuzz build in travis. * Skip check_build for honggfuzz, only build.
This commit is contained in:
parent
e2e155fe0e
commit
bc308a7a32
|
@ -37,6 +37,11 @@ matrix:
|
|||
- TRAVIS_ENGINE=afl
|
||||
- TRAVIS_SANITIZER=address
|
||||
- TRAVIS_ARCHITECTURE=x86_64
|
||||
- name: "honggfuzz address x86_64"
|
||||
env:
|
||||
- TRAVIS_ENGINE=honggfuzz
|
||||
- TRAVIS_SANITIZER=address
|
||||
- TRAVIS_ARCHITECTURE=x86_64
|
||||
- name: "none address x86_64"
|
||||
env:
|
||||
- TRAVIS_ENGINE=none
|
||||
|
|
|
@ -25,7 +25,7 @@ import subprocess
|
|||
import yaml
|
||||
|
||||
DEFAULT_ARCHITECTURES = ['x86_64']
|
||||
DEFAULT_ENGINES = ['afl', 'libfuzzer']
|
||||
DEFAULT_ENGINES = ['afl', 'honggfuzz', 'libfuzzer']
|
||||
DEFAULT_SANITIZERS = ['address', 'undefined']
|
||||
|
||||
|
||||
|
@ -125,7 +125,10 @@ def build_project(project):
|
|||
|
||||
print('Building project', project)
|
||||
build_fuzzers(project, engine, sanitizer, architecture)
|
||||
if engine != 'none':
|
||||
|
||||
# TODO(https://github.com/google/oss-fuzz/issues/3592): Re-enable after
|
||||
# Honggfuzz is supported in check_build.
|
||||
if engine not in ['none', 'honggfuzz']:
|
||||
check_build(project, engine, sanitizer, architecture)
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,19 @@
|
|||
#!/bin/bash -eu
|
||||
# Copyright 2020 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
################################################################################
|
||||
|
||||
./configure
|
||||
make -j$(nproc) clean
|
||||
|
|
|
@ -7,6 +7,7 @@ auto_ccs:
|
|||
fuzzing_engines:
|
||||
- libfuzzer
|
||||
- afl
|
||||
- honggfuzz
|
||||
- dataflow
|
||||
sanitizers:
|
||||
- address
|
||||
|
|
Loading…
Reference in New Issue