Commit de8431f
authored
Initial skeleton for fuzzing infrastructure (#699)
* Initial fuzzing skeleton
This commit introduces the initial skeleton for Javy's fuzzing
infrastructure.
This commit focuses on the `json-differential` target, to check Javy's
SIMD-based, custom `JSON.parse` and `JSON.stringify` implementations.
The implementation aims to take full advantage of libfuzzer's coverage
capabilities and that's the reason why it uses the native version of
QuickJS instead of the Wasm version.
* Add README
* Build fuzz targets in CI
* Revert runtime configuration changes
* Add `check-fuzz.yml`
* Fix typo
* Fix `check-fuzz` format
* Add linting
* Fixes
* Fix formatting in check-fuzz.yml
* Parametrize cargo fuzz and nightly version
* Split steps to read versions
* Fix typo in rustup install nightly
* Fix typo in cargo install cargo-fuzz
* Improve nightly installation step
* Use rustup override
* Drop clippy from fuzz
* Fix `lint` newlines1 parent 3f8f302 commit de8431f
File tree
13 files changed
+559
-714
lines changed- .github/workflows
- fuzz
- fuzz_targets
- supply-chain
13 files changed
+559
-714
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
0 commit comments