Commit Graph

32 Commits

Author SHA1 Message Date
Evgeny Vereshchagin aaac6a9686
[systemd] turn on i386 (#7777)
https://github.com/systemd/systemd/issues/23532
2022-05-30 13:47:21 +10:00
Evgeny Vereshchagin 55c912c9c7
[systemd] report OSS-Fuzz bugs on GitHub as well (#7510)
It should hopefully make it easier to keep track of them.

It was discussed in https://github.com/google/oss-fuzz/issues/7023
2022-04-05 14:44:59 -04:00
Evgeny Vereshchagin 8d762775ac
[systemd] move apt-gets and pips to the systemd repository (#6858)
https://github.com/systemd/systemd/pull/21438
2021-11-19 11:08:37 +00:00
Evgeny Vereshchagin aa8740a98a
[systemd] turn MSAn on (#6514)
Apparently the dependencies aren't used at runtime by the
fuzz targets so it seems it should be safe to bring MSAn back.
I'd keep https://github.com/systemd/systemd/issues/20542 open though
(at least until the dependencies are either linked properly or
maybe even removed somehow).
2021-09-24 15:04:01 +10:00
jonathanmetzman 390c200c1e
[Ubuntu upgrade] Disable MSAN in projects that will have false positives. (#6303)
Do this based mostly on instrumented_libraries and more tests.

Related: #6180
2021-08-25 22:14:20 -07:00
Zbigniew Jędrzejewski-Szmek e57df811fd
[systemd] use pip3 to install jinja2 (#5796)
It turns out that the system version of jinja2 is visible to the build
script.

From https://github.com/systemd/systemd/pull/19630#issuecomment-842983177:
> On OSS-Fuzz (and CIFuzz) the latest version of Python is built from
> scratch in the base-builder image. /usr/lib/python3/dist-packages
> (where python3-jinja2 is installed by apt-get) isn't included in
> PYTHONPATH there:
>
> ['', '/usr/local/lib/python38.zip', '/usr/local/lib/python3.8', '/usr/local/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/site-packages']
2021-05-18 10:57:51 -07:00
Zbigniew Jędrzejewski-Szmek dfeefa2b36
[systemd]: pull in jinja2 (#5779)
For https://github.com/systemd/systemd/pull/19630:
m4 is being replaced by jinja2. Let's pull in both until the dust settles.
2021-05-17 10:11:15 +01:00
Evgeny Vereshchagin 09dd5ff913
Revert "[systemd] roll back to meson-0.56.2 (#5199)" (#5601)
Now that https://github.com/mesonbuild/meson/issues/8345 is closed,
it should be safe to keep rolling forward.

This reverts commit ac290e7ed7.
2021-04-12 15:15:34 +01:00
Evgeny Vereshchagin ac290e7ed7
[systemd] roll back to meson-0.56.2 (#5199)
Apparently the latest version of meson (0.57.0) somehow broke systemd
OSS-Fuzz builds. Since it was released systemd has been failing to compile
with
```
2021-02-14T21:23:53.3854577Z [481/664] clang++  -o fuzz-compress fuzz-compress.p/src_fuzz_fuzz-compress.c.o -L/usr/lib/clang/12.0.0/lib/linux -Wl,--as-needed -Wl,--allow-shlib-undefined '-Wl,-rpath,$ORIGIN/src/shared' -Wl,-rpath-link,/work/build/src/shared -Wl,--start-group src/shared/libsystemd-shared-247.so -lFuzzingEngine -Wl,--end-group
2021-02-14T21:23:53.3856578Z FAILED: fuzz-compress
2021-02-14T21:23:53.3858714Z clang++  -o fuzz-compress fuzz-compress.p/src_fuzz_fuzz-compress.c.o -L/usr/lib/clang/12.0.0/lib/linux -Wl,--as-needed -Wl,--allow-shlib-undefined '-Wl,-rpath,$ORIGIN/src/shared' -Wl,-rpath-link,/work/build/src/shared -Wl,--start-group src/shared/libsystemd-shared-247.so -lFuzzingEngine -Wl,--end-group
2021-02-14T21:23:53.4160985Z /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../libFuzzingEngine.a(FuzzerTracePC.o): In function `size':
2021-02-14T21:23:53.4162332Z /usr/local/bin/../include/c++/v1/set:641: undefined reference to `__asan_report_load8'
2021-02-14T21:23:53.4164959Z /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../libFuzzingEngine.a(FuzzerTracePC.o): In function `fuzzer::TracePC::HandleInline8bitCountersInit(unsigned char*, unsigned char*)':
2021-02-14T21:23:53.4166954Z /src/libfuzzer/FuzzerTracePC.cpp:61: undefined reference to `__asan_report_store1'
2021-02-14T21:23:53.4168493Z /src/libfuzzer/FuzzerTracePC.cpp:59: undefined reference to `__asan_report_store1'
2021-02-14T21:23:53.4170699Z /src/libfuzzer/FuzzerTracePC.cpp:59: undefined reference to `__asan_report_store1'
2021-02-14T21:23:53.4172114Z /src/libfuzzer/FuzzerTracePC.cpp:63: undefined reference to `__asan_report_store1'
2021-02-14T21:23:53.4173550Z /src/libfuzzer/FuzzerTracePC.cpp:63: undefined reference to `__asan_report_store1'
2021-02-14T21:23:53.4174876Z /src/libfuzzer/FuzzerTracePC.cpp:54: undefined reference to `__asan_handle_no_return'
2021-02-14T21:23:53.4176322Z /src/libfuzzer/FuzzerTracePC.cpp:64: undefined reference to `__asan_handle_no_return'
2021-02-14T21:23:53.4177521Z /src/libfuzzer/FuzzerTracePC.cpp:65: undefined reference to `__asan_handle_no_return'
2021-02-14T21:23:53.4178936Z /src/libfuzzer/FuzzerTracePC.cpp:66: undefined reference to `__asan_handle_no_return'
2021-02-14T21:23:53.4180439Z /src/libfuzzer/FuzzerTracePC.cpp:67: undefined reference to `__asan_handle_no_return'
2021-02-14T21:23:53.4182667Z /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../libFuzzingEngine.a(FuzzerTracePC.o):/src/libfuzzer/FuzzerTracePC.cpp:44: more undefined references to `__asan_handle_no_return' follow
2021-02-14T21:23:53.4185448Z /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../libFuzzingEngine.a(FuzzerTracePC.o): In function `fuzzer::TracePC::HandleInline8bitCountersInit(unsigned char*, unsigned char*)':
2021-02-14T21:23:53.4189221Z /src/libfuzzer/FuzzerTracePC.cpp:61: undefined reference to `__asan_report_load8'
2021-02-14T21:23:53.4190419Z /src/libfuzzer/FuzzerTracePC.cpp:61: undefined reference to `__asan_report_store8'
2021-02-14T21:23:53.4191618Z /src/libfuzzer/FuzzerTracePC.cpp:61: undefined reference to `__asan_report_store8'
2021-02-14T21:23:53.4192815Z /src/libfuzzer/FuzzerTracePC.cpp:41: undefined reference to `__asan_report_load8'
2021-02-14T21:23:53.4194218Z /src/libfuzzer/FuzzerTracePC.cpp:46: undefined reference to `__asan_report_store8'
2021-02-14T21:23:53.4195434Z /src/libfuzzer/FuzzerTracePC.cpp:53: undefined reference to `__asan_report_store8'
2021-02-14T21:23:53.4196673Z /src/libfuzzer/FuzzerTracePC.cpp:55: undefined reference to `__asan_report_store8'
2021-02-14T21:23:53.4278293Z /src/libfuzzer/FuzzerTracePC.cpp:61: undefined reference to `__asan_report_store1'
2021-02-14T21:23:53.4279995Z /src/libfuzzer/FuzzerTracePC.cpp:64: undefined reference to `__asan_report_load8'
```
and so on.
2021-02-14 21:04:49 -08:00
Luca Boccassi e4a2de5fab
[systemd]: add Luca Boccassi to cc (#5119) 2021-02-04 15:41:07 -08:00
Oliver Chang 84faf55729
Populate a bunch of main_repo values. (#4815)
Also enforce this for future integrations.
2020-12-10 09:49:27 +11:00
Evgeny Vereshchagin eb5b769c75
[systemd,util-linux] build more often (#4312)
Hopefully this should prevent OSS-Fuzz from reporting bugs that
have alread been fixed. Though I'm not sure how stable it's going to be
given that https://github.com/google/oss-fuzz/issues/4083 is still
open. Let's see.
2020-08-13 07:18:16 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Evgeny Vereshchagin 361687b78b
[systemd] add DaanDeMeyer's address (#3916) 2020-06-01 07:04:11 -07:00
Evgeny Vereshchagin 4cb51d21b3
Revert "[systemd] remove my non-gmail address (#3606)" (#3910)
This reverts commit 65dcabc484.
2020-05-31 07:55:33 -07:00
Evgeny Vereshchagin 3181066c06
Revert "[systemd] turn off hongfuzz (#3889)" (#3891)
This reverts commit d638fac80c.
2020-05-27 15:59:06 -07:00
Evgeny Vereshchagin d638fac80c
[systemd] turn off hongfuzz (#3889)
See https://github.com/google/oss-fuzz/issues/3887
2020-05-27 15:33:28 -07:00
Evgeny Vereshchagin 65dcabc484
[systemd] remove my non-gmail address (#3606)
It doesn't seem to make much sense to keep non-gmail addresses there.

https://github.com/google/oss-fuzz/issues/3576
https://bugs.chromium.org/p/monorail/issues/detail?id=7461
2020-04-09 10:57:11 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Evgeny Vereshchagin 44f6945036 [systemd] Add Anita Zhang (#2935) 2019-10-09 12:47:26 -07:00
Evgeny Vereshchagin d675f4b59c [systemd]: add Susant Sahani and Chris Down (#2583) 2019-07-10 08:34:10 -07:00
Zbigniew Jędrzejewski-Szmek c20c3b8029 [systemd]: add Jóhann B. Guðmundsson (#2438) 2019-05-18 07:04:21 -07:00
Zbigniew Jędrzejewski-Szmek 166745e25d systemd,casync: add Frantisek Sumsal (#2216) 2019-03-07 05:52:39 -08:00
Zbigniew Jędrzejewski-Szmek 3a74677782 [systemd] also pull in libkmod-dev (#1750)
It is needed to properly link a new fuzzer I'm working on.

Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
2018-08-23 06:36:05 -07:00
Evgeny Vereshchagin d701589823 [systemd] install wget to download a dictionary for fuzz-json (#1683) 2018-08-03 07:19:24 -07:00
Evgeny Vereshchagin 817dbf76ca [systemd] add evverx's gmail address (#1518)
It turns out that some things are much easier to do when
a gmail account is used.
2018-06-15 06:19:03 -07:00
Zbigniew Jędrzejewski-Szmek 187ca18161 [systemd] adjust path to build script (#1236)
C.f. 9037a0e022.
2018-03-12 13:40:01 -07:00
Zbigniew Jędrzejewski-Szmek df573a03e2 [systemd] install libmount-devel (#1224)
Right now systemd declares a requirement on libmount-devel >= 2.30.
But this is only because of fixes in libmount 2.30 that matter at
runtime. For fuzzing (and to build) any libmount version is enough.
https://github.com/systemd/systemd/commit/c0b4b0f8f548c755dee81b
relaxed the version check in systemd. To fix the build we need to
install libmount-dev (and pkg-config, because meson requires that
for pkg-config deps to actually work).

Fixes #1191.
2018-03-09 11:50:06 -08:00
Zbigniew Jędrzejewski-Szmek 78d6ccb126 [systemd] add one more contributor to cc (#1098) 2018-02-20 16:29:48 -08:00
Zbigniew Jędrzejewski-Szmek 57fda22514 [systemd] add more addresses to CC (#1089)
Backup address for Lennart Poettering, addresseses for Canonical
and systemd contributors who work on memory correctness issues.

Follow-up for #1084.
2018-01-18 13:08:18 -08:00
Jonathan Rudenberg b73b36edb3 [systemd] Enable memory sanitizer (#1084) 2018-01-18 15:15:04 +11:00
Jonathan Rudenberg 5aafd18141 [systemd] Add initial systemd integration (#1073)
* [systemd] Add initial systemd integration

* Add @keszybz to auto_ccs

* Use ppa:pitti/systemd-semaphore for libmount backport

* Simplify build now that dependencies are disabled

* Update Dockerfile to use upstream repo
2018-01-18 13:22:18 +11:00