Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
afl++ addition (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhauser-thc authored Oct 15, 2020
1 parent eabcc06 commit 5f7105f
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,15 @@ jobs:
with:
name: build-artifacts
path: artifacts
aflpp:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- run: src/ci/aflpp.sh
- uses: actions/upload-artifact@v2.1.4
with:
name: build-artifacts
path: artifacts
radamsa-linux:
runs-on: ubuntu-18.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ include:
* supervisor_env: User specified environment variables for the supervisor
* supervisor_options: User specified command line options for the supervisor
* supervisor_input_marker: Marker to specify the path to the filename for
supervisors (Example: for AFL, this should be '@@')
supervisors (Example: for AFL and AFL++, this should be '@@')
* stats_file: Path to the fuzzer's stats file
* stats_format: Format of the fuzzer's stats file
* input_queue_from_container: Container name to monitor for new changes.
Expand Down
3 changes: 2 additions & 1 deletion docs/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ Users should take care over the following items:
* radamsa-linux
* radamsa-windows
* afl-linux
* aflpp-linux
1. Any jobs deployed during the upgrade process may temporarily fail to be
submitted.
The CLI will automatic retry to submit jobs that fail due error codes known
to happen during the service upgrade procedure. If this behavior is
undesired, please pause submission of jobs during the upgrade process.
undesired, please pause submission of jobs during the upgrade process.
20 changes: 20 additions & 0 deletions src/ci/aflpp.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

mkdir -p artifacts/third-party/aflpp-linux

sudo apt-get install -y llvm llvm-dev clang

git clone https://github.com/AFLplusplus/AFLplusplus
cd AFLplusplus
# checkout v2.68c
git checkout ee206da3897fd2d9f72206c3c5ea0e3fab109001
make
(test -d llvm_mode && cd llvm_mode && make)
#(test -d gcc_plugin && cd gcc_plugin && make)
(cd libdislocator && make)
(cd examples/aflpp_driver && make)

cp -rf afl-* *.so *.a *.o dictionaries LICENSE ../artifacts/third-party/aflpp-linux

0 comments on commit 5f7105f

Please sign in to comment.