Commit Graph

31 Commits

Author SHA1 Message Date
Nikita Popov 6ac8d418a6
Pin php to older clang version (#8485)
The php i386 build is broken since the last clang roll, due to a bug on
the clang side. This should get fixed when clang is updated again, but
for now pin to an older version.

FYI I also submitted
https://github.com/AFLplusplus/AFLplusplus/pull/1516 to hopefully
unblock the clang 15 update.
2022-09-13 23:45:19 +01:00
Nikita Popov 7258c01953
[php] Add Dmitry to PHP auto_ccs (#6893) 2021-11-24 10:17:29 +00:00
Nikita Popov 3b501d3ac3
[php] Make reports public (#6741)
We have some fuzzers that are security-critical (json, exif), but
these haven't found anything genuinely new in a long time. It seems
unlikely that they will find something that is not a regression in
a pre-release version (and as such okay to be public).

The other fuzzers are not classified as security-critical by the
the PHP project (unserialize, unserializehash, parser, execute,
function-jit, tracing-jit). The latter three produce the vast
majority of new reports.

I think it would be more valuable to make fuzzing reports public
and have a larger set of people who can work on them.
2021-11-02 13:08:48 -04:00
Nikita Popov 465c0c72b6
[php] Enable tracing-jit fuzzer (#6580)
This complements the function-jit fuzzer and tests the default
JIT configuration.
2021-10-11 12:50:06 -04:00
Nikita Popov 7b1e0cbc8c
[php] Disable mbstring fuzzer (#6572)
The mbstring fuzzer is really a fuzzer for the oniguruma library
through the PHP mbregex extension. This was important at the time
as the upstream oniguruma project did not have fuzzing and we were
bundling the library (and thus responsible for security backports).

Nowadays we no longer bundle this library and the upstream project
does their own fuzzing, including integration with oss-fuzz:
https://github.com/google/oss-fuzz/tree/master/projects/oniguruma

I haven't really done anything with reports from this fuzzer in a
long time, as issues get addressed upstream. As such, I think it's
safe to drop it on the PHP side.
2021-10-08 15:50:56 +00:00
Nikita Popov f0441f995c
[php] Add function-jit fuzzer (#6507) 2021-09-22 13:33:06 +01:00
Nikita Popov 84947c3aeb
[php] Fix i386 build (#5692)
It is now necessary to specify the --build architecture for -m32
builds, otherwise we'll end up using x64 assembly files.
2021-04-30 14:49:14 +01: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
Nikita Popov fd4659b60e
[php] Add execute fuzzer (#4387) 2020-08-28 09:10:07 -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
Nikita Popov 26af5e0e25
[php] Enable unserializehash fuzzer (#4049) 2020-06-30 09:54:25 -07:00
Nikita Popov 2b794d083b
[php] Remove --enable-json (#3899)
JSON is now always compiled in, and cannot be explicitly enabled.
2020-05-29 09:21:58 -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
Nikita Popov 3c39a19366 [php] Enable memory sanitizer (#3141) 2019-12-17 06:59:42 -08:00
Nikita Popov db51e84fc0 [php] Disable object-size sanitizer (#3128)
PHP uses a union which is only allocated to the size of the used
union member, which is apparently incompatible with the object-size
sanitizer. This is really hard for us to fix, so instead disable
the sanitizer.
2019-12-14 05:46:40 -08:00
Nikita Popov 6c14075986 [php] Enable i386 architecture (#2899) 2019-09-29 06:25:34 -07:00
Nikita Popov 09aa9ac556 [php] Enable fuzzer for parser (#2883) 2019-09-24 07:08:09 -07:00
Nikita Popov 5d8994506e [php] Enable unserialize fuzzer (#2871)
* [php] Enable leak detection

* [php] Enable unserialize fuzzer

* [php] Pass -n$(proc) to make
2019-09-20 15:06:06 -07:00
Nikita Popov 88e3c3e420 Switch email address to use gmail (#2842)
Switch auto_ccs entry to my gmail address, as authentication in the bug tracker does not work otherwise.
2019-09-18 07:11:08 -07:00
Stanislav Malyshev 44e7362ff5 fuzzer has been merged into upstream repo, no need to check out extra repo anymore (#2839) 2019-09-17 07:52:40 -07:00
Stanislav Malyshev 8b911bf10c Add Nikita Popov to CC addresses for PHP issues (#2840) 2019-09-17 06:54:28 -07:00
Stanislav Malyshev b45c95203d Fix PHP build - needs PIC flag now (#2821) 2019-09-10 06:41:33 -07:00
Max Moroz e0f427fb3b
[php] Enable undefined sanitizer configuration (#1984). (#2535) 2019-06-21 11:34:01 -07:00
Stanislav Malyshev 30190987f4 Fix build - option got renamed to --without-libxml (#2338) 2019-04-20 22:26:16 -07:00
Stanislav Malyshev 795aa42757 Use libonig5 - this will enable mbstring regex limits (#2282) 2019-04-01 12:29:42 -07:00
Stanislav Malyshev e5f5406f87 Fuzzer moved to official php repo (#2239) 2019-03-13 14:27:13 -07:00
Stanislav Malyshev a51f446e14 Add mbstring fuzzer for PHP (#2233) 2019-03-13 07:31:48 -07:00
Stanislav Malyshev a558ea17e7 Also enable exif fuzzer (#2215) 2019-03-09 05:35:27 -08:00
Max Moroz 8aafddfb9e [php] Disable UBSan for now (related to #2202). 2019-03-05 11:03:25 -08:00
Max Moroz 9087f31be2 [php] Remove experimental flag and specify ASan and UBSan only. 2019-03-05 07:13:46 -08:00
Stanislav Malyshev b7e17966a8 [php] Add files to run php fuzz (#2202)
So far only one fuzzer active - json one. More to come.
2019-03-05 07:12:32 -08:00