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

afl++ addition #7

Merged
merged 10 commits into from
Oct 15, 2020
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 '@@')
bmc-msft marked this conversation as resolved.
Show resolved Hide resolved
* 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.
19 changes: 19 additions & 0 deletions src/ci/aflpp.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/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 examples/libdislocator && make)
bmc-msft marked this conversation as resolved.
Show resolved Hide resolved

cp -rf afl-* *.so *.a *.o dictionaries examples/libdislocator/libdislocator.so LICENSE ../artifacts/third-party/aflpp-linux
bmc-msft marked this conversation as resolved.
Show resolved Hide resolved