Skip to content

Restructure Fuzzer Seed Data #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 36 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
# oss-fuzz-inputs
Repository if inputs and seed data for use by OZZ-Fuzz targets or anything else it might help.
# gitpython-developers qa-assets

This repository contains files used as inputs for automated testing of gitpython-developers owned projects. Currently,
only GitPython's OSS-Fuzz related blobs are housed here.

For information about GitPython's OSS-Fuzz integration and fuzz tests, please refer
to [GitPython's fuzzing/README.md](https://github.com/gitpython-developers/GitPython/blob/main/fuzzing/README.md)

For details about the contents of this repository, continue reading.

## Files & Directories Overview

### Seed Corpora (`gitpython/corpora/`)

Contains one subdirectory per fuzz target, each containing a set of minimal test inputs (called a "corpus") that enable
the fuzzing engine to generate some initial coverage that it can build on.

### Dictionaries (`gitpython/dictionaries/`)

Provides hints to the fuzzing engine about inputs that might trigger unique code paths. Each fuzz target may have a
corresponding `.dict` file. For information about dictionary syntax, refer to
the [LibFuzzer documentation on the subject](https://llvm.org/docs/LibFuzzer.html#dictionaries).

**Things to Know**:

- OSS-Fuzz loads dictionary files per fuzz target if one exists with the same name, all others are ignored.
- Most entries in the dictionary files found here are escaped hex or Unicode values that were recommended by the fuzzing
engine after previous runs.
- A default set of dictionary entries should be created for all fuzz targets as part of the build process, regardless of
an existing file here.
- Development or updates to dictionaries should reflect the varied formats and edge cases relevant to the
functionalities under test.
- Example dictionaries (some of which are used to build the default dictionaries mentioned above) can be found here:
- [AFL++ dictionary repository](https://github.com/AFLplusplus/AFLplusplus/tree/stable/dictionaries#readme)
- [Google/fuzzing dictionary repository](https://github.com/google/fuzzing/tree/master/dictionaries)

Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(javascript.dg�_da��:
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
�G:(/�acuui/�.dg�_data:su,rroZZ
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
������������g�:_:
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
󠁦�
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(/�acqui/�.dg�_da��:
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(/�acqui/�._da�󠁍:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
�/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(/�acqui/�.dg�_da�:
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(//_acqui/�.dg�_da��:
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(javascript.dg�_da�!:
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
iiiiiia�����v
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(/�acqui/�.dg�_da��:
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
���:(//*////��(//*//��
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(jivascript.dg�_fa��:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(/�acqui/�.dg�_da��:
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��:(/�acqui/�.da�[�dg�:
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[i]
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[DEFAU0A]
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[-]:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[DEFAUL[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[include]
-=~google-fluen

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[include]
h=~google-f
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[-]
:"""
:""
:"""
:"""
:"""
:"""
:"""
:")
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[DEF>ULT]
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[-]
:
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[include]
.=
_:
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[1]
-=~ ;
_:( ;
_:( ;
[:d ;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[DEF+UFA]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
r--
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[include]
`=~google-fluend
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[include]
=~google-flq
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[include]
=~google-fluenC
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[i!clude]
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#
[-]
o:d ;
o:d ;
o:d ;
o:d ;
o:d+ ;
o:d ;
m:d ;
o:d ;
o:d ;
o:d ;
o:d ;
o:d ;
o:d ;
o:d ;
o:d ;;
o:d ;
o:d ;
o:d ;
o:+ ;
o:d ;
m:d ;
o:d ;
o:d ;
o:d ;
o:d ;
o:d ;
o:d ;
o:d ;
o:d ;;
o:d ;
o:d ;
o:d ;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[DEFAe:)]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[–nsipde]
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[-]
_:
`:
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[include]
]:/]
`:/]
v:/-
s:/:
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[DEFAULA]
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[include]
h=~google-fln
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[include]
=~google-flu:
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[-]
_:ݪ
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
[DEFAULT]
]
[DEFAULT]
[DEFAULT]
[DEFAULT]
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[include]
,=~google-f
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[include]
-=~goog"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[lcinuda]
Loading