Skip to content

Commit

Permalink
Made an cifuzz initialization and wrote fuzz tests, includes also som…
Browse files Browse the repository at this point in the history
…e pom.xml changes for coverage
  • Loading branch information
turalsalamov committed Jul 21, 2023
1 parent 1762412 commit 5c96299
Show file tree
Hide file tree
Showing 4 changed files with 545 additions and 368 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ target/
.settings/
*Thrash*
bin/

.cifuzz-build/*
.cifuzz-corpus/*
.cifuzz-findings/*
src/test/resources/org/jsoup/fuzzing/parser/*
49 changes: 49 additions & 0 deletions cifuzz.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## Configuration for a CI Fuzz project
## Generated on 2023-07-19

## The build system used to build this project. If not set, cifuzz tries
## to detect the build system automatically.
## Valid values: "bazel", "cmake", "maven", "gradle", "other".
#build-system: cmake

## If the build system type is "other", this command is used by
## `cifuzz run` to build the fuzz test.
#build-command: "make my_fuzz_test"

## Directories containing sample inputs for the code under test.
## See https://llvm.org/docs/LibFuzzer.html#corpus
#seed-corpus-dirs:
# - path/to/seed-corpus

## A file containing input language keywords or other interesting byte
## sequences.
## See https://llvm.org/docs/LibFuzzer.html#dictionaries
#dict: path/to/dictionary.dct

## Command-line arguments to pass to libFuzzer.
## See https://llvm.org/docs/LibFuzzer.html#options
#engine-args:
# - -rss_limit_mb=4096

## Maximum time to run fuzz tests. The default is to run indefinitely.
#timeout: 30m

## By default, fuzz tests are executed in a sandbox to prevent accidental
## damage to the system. Set to false to run fuzz tests unsandboxed.
## Only supported on Linux.
#use-sandbox: false

## Set to true to print output of the `cifuzz run` command as JSON.
#print-json: true

## Set to true to disable desktop notifications.
#no-notifications: true

## Set URL of the CI App.
#server: https://app.code-intelligence.com

## Set the project name on the CI App.
#project: my-project-1a2b3c4d

## Style for CI Fuzz.
#style: plain
Loading

0 comments on commit 5c96299

Please sign in to comment.