Commit Graph

4 Commits

Author SHA1 Message Date
Evgeny Vereshchagin 9decaec30f
[libbpf] switch to the upstream repository (#7180)
To make it easier to switch to CFLite eventually the fuzzer and
build script were moved upstream. Until CFLite isn't fully integrated
there let's just point OSS-Fuzz to the upstream script to
mostly let CIFuzz make sure it's buildable.
2022-01-25 11:14:20 +00:00
Evgeny Vereshchagin 0a4bb3fc1e
[libbpf] turn on i386 (#7115) 2022-01-11 10:08:54 +00:00
Evgeny Vereshchagin fb3be33af9
[libbpf] use --disable-libdebuginfod while building libelf (#6945)
Looks like --disable-libdebuginfod works now so it seems
it can safely be used instead of installing libcurl and
letting ./configure find and ignore it.
2021-12-01 11:09:05 +00:00
Evgeny Vereshchagin b43bb968f8
[libbpf] initial integration (#6608)
* [libbpf] initial integration

* [libbpf] link against zlib statically

it somehow helps to get around https://github.com/google/oss-fuzz/issues/6524

* [libbpf] trim headers

* [libbpf] more sanitizers

* [libbpf] show the commit libelf is built from

to make it easier to roll back to the last known working version
should something go wrong

* [libbpf] pin libelf to a particular commit

to avoid running into unpredictable build failures that
can't be controlled by the libbpf project itself. In the future
libelf should probably be built using the latest stable release
at https://sourceware.org/elfutils/ftp/elfutils-latest.tar.bz2

* [libbpf] add more comment

to hoppefully make it easier to make sense of the build script
in the foreseeable future

* [libbpf] add support for "local" mode without docker

to make it easier to build the fuzz target locally:
```
cd projects/libbpf
git clone https://github.com/libbpf/libbpf
./build.sh
unzip -d CORPUS ./out/bpf-object-fuzzer_seed_corpus.zip
./out/bpf-object-fuzzer CORPUS/
```

* [libbpf] more comments

* [libbpf] add the maintainer's email address

* [libbpf] more comments

* [libbpf] install libz explicitly

* [libbpf] build 4 times a day

It should help to prevent OSS-Fuzz from reporting issues that
have already been fixed
2021-10-21 21:30:02 -07:00