...
1#!/usr/bin/env bash
2
3# This file is only meant to be run by OSS-fuzz and will not work
4# if run outside of it.
5# The api, compile_go_fuzzer() is provided by the OSS-fuzz
6# environment and is a high level helper function for a series
7# of compilation and linking steps to build the fuzzers in the
8# OSS-fuzz environment.
9# More info about compile_go_fuzzer() can be found here:
10# https://google.github.io/oss-fuzz/getting-started/new-project-guide/go-lang/#buildsh
11compile_go_fuzzer github.com/opencontainers/runc/libcontainer/system FuzzUIDMap id_map_fuzzer linux,gofuzz
12compile_go_fuzzer github.com/opencontainers/runc/libcontainer/user FuzzUser user_fuzzer
13compile_go_fuzzer github.com/opencontainers/runc/libcontainer/configs FuzzUnmarshalJSON configs_fuzzer
View as plain text