https://github.com/dcsunset/fuzzer-test-suite
Scripts to run the project by AFL with automatic coverage analysis
https://github.com/dcsunset/fuzzer-test-suite
Last synced: 8 months ago
JSON representation
Scripts to run the project by AFL with automatic coverage analysis
- Host: GitHub
- URL: https://github.com/dcsunset/fuzzer-test-suite
- Owner: DCsunset
- License: agpl-3.0
- Created: 2022-03-14T21:09:45.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T21:53:13.000Z (almost 4 years ago)
- Last Synced: 2024-12-31T09:44:45.394Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 2 MB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Depenedencies
* `gcc`
* `clang`
* `libpng-dev`
* `nasm`
* `libarchive-dev`
* `inotify-tools`
* `subversion`
* `libgcrypt20-dev`
* `autoconf-archive`
For data analysis, install [afl-utils](https://gitlab.com/rc0r/afl-utils.git).
## Usage
First clone this repo by the following commands:
```sh
git clone --recurse-submodules https://github.com/DCsunset/fuzzer-test-suite.git
./init.sh
```
For AFL, configure the kernel parameters:
```sh
echo core | sudo tee /proc/sys/kernel/core_pattern
cd /sys/devices/system/cpu
echo performance | sudo tee cpu*/cpufreq/scaling_governor
```
To run one or more projects:
```sh
./test-project.sh
```
The available projects are listed in the variable `AVAIL_PROJ` in file `./config.sh`.
To check log of a projects
```sh
./check-log.sh
# with some flags to command tail
TAIL_FLAGS=-f ./check-log.sh
```
To stop the running projects:
```sh
./kill-all.sh
```
## License
AGPL-3.0 License.
Full notice:
Copyright (C) 2022 DCsunset, lyuyues, xuyeliu
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .