Commit Graph

12 Commits

Author SHA1 Message Date
Khaled Yakdan fd04971319
Source-based code coverage reporting for Jazzer.js (#9758) 2023-02-23 18:51:21 +11:00
Dongge Liu 22488896f6
Centipede integration (#8046)
* Add Centipede as a fuzzer

* Specify dictionary param of Centipede

* Update docs

* Mark Centipede as experimental

* More accurate description

* Remove garbage

* Simplify code

* Move mkdir to dockerfile

* Add the weak.c trick

* Install deps with Centipede's script & uninstall new deps

* Fix doc

* Reuse libweak_sancov_stubs.so

* Reorganise flags

* format

* Consistent file type

* Reuse the weak references defined in Centipede

* Replace the shared library of weak symbols with a static one

* Correct the place to call mkdir

* Allow 2G of SHM for Centipede

* Create dirs in run_fuzzer

* Keep Centipede up-to-date

* Avoid duplicating Centipede's binary

* The params of Centipede and their explanations

* The engine info of centipede

* Save the target binary (with san) in a subdir of the project

* Set the target (with san) dir in check_build

* Create the target (with san) first to avoid side-effects

* Fic clone

* Fix format

* Add periods

* Fix comments

* Fix dirs

* Fix parameters

* Adding Centipede as a fuzzing engine for Scarecrow

* Add CI support

* Represent sanitizer with a variable

* Remove the unnecessary definition of FUZZER_OUT

* Reorganise binary directories

* format

* A minor note

* Present issues with dirs that alread exist

* Use os.path.join to join path

* Make a function to get the out/ in check build

* Reusing existing flags in .bazel

* Avoid hardcoding sanitizer, set rss_limit_mb=4096, leave address_space_limit_mb disabled

* Better ways to add bazel build options

* A better way to add bazel flags

* Remove redundant --bazelrc

* Better Cohesion

* Avoid code duplication

* Simplify code

* Exit on crash
2022-09-06 02:34:58 +00:00
jonathanmetzman bbbbad5c07
Prepare for JavaScript fuzzing (#8325)
Prepare for JavaScript fuzzing
Related: #8324
2022-08-23 17:41:42 -04:00
jonathanmetzman 97133fd942
[Incomplete] Support building targets with HWAsan (#8190)
Note that these targets still fail immediately.
Related: #8164
2022-08-08 22:57:59 -04:00
jonathanmetzman 05243bb9c6
[NFC] Add initial support for AArch64 (#8165)
Related: https://github.com/google/oss-fuzz/issues/8164
2022-08-05 13:57:43 -04:00
jonathanmetzman ba3360fb66
[wycheproof] Support wycheproof as an engine in presubmit (#8035)
Related: #8034
2022-07-20 11:17:23 -04:00
jonathanmetzman 817620fd70
Remove dataflow support from helper.py (#7970)
* Remove dataflow support from helper.py
Related: #7964

* fix

* fmt
2022-07-08 08:31:34 +02:00
DavidKorczynski 0cb820e5af
infra: add Python coverage support (#7298)
* infra: add Python coverage support

* update python coverage helper script

* nits

* switch from commands to python

* pin coverage package

* switch to single quote strings throughout

* nit

* fix style

* fix style

* fix ci

* fix ci
2022-04-06 10:31:34 -04:00
Navidem 9e39d350e8
apply patches needed for fuzz introspector integration (#7122) 2022-01-20 12:22:27 +11:00
Catena cyber dd8e46c38b
Swift ideal integration (#6312)
* Helper flags for swift compilation

* Documentation for swift project integration

* Adds swift to the languages with coverage

* Only thread sanitizer is supported

* Fixes swift coverage target compilation

* fixup flags facotring

* swift: run on new ubuntu

* fixup

* swift: right copy for symbolizer
2021-09-02 14:56:01 -07:00
DavidKorczynski be08bbd524
infra: add coverage sanitizer option (#6171)
* infra: add coverage sanitizer option

* fix lint
2021-08-05 18:53:20 +00:00
jonathanmetzman aac1cb8c76
[infra][NFC] Use one source of truth for engines, languages etc. (#6163)
Do this only where it makes sense. For example, since CIFuzz doesn't
support dataflow, maintain a separate source of truth.
2021-08-04 17:04:55 -07:00