Skip to content

Commit

Permalink
made requested changes for mayhem integration
Browse files Browse the repository at this point in the history
  • Loading branch information
capuanob authored and ForAllSecure Mayhem Bot committed Nov 30, 2023
1 parent 3880e08 commit 8606817
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 11,233 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ WORKDIR build
RUN cmake -DCMAKE_C_COMPILER=afl-clang-fast -DCMAKE_CXX_COMPILER=afl-clang-fast++ ..
RUN make -j$(nproc)

## Package Stage
FROM fuzzers/aflplusplus:3.12c

## Generate test corpus
RUN mkdir /tests && echo seed > /tests/seed
RUN mkdir /testsuite && echo seed > /testsuite/seed

ENTRYPOINT ["afl-fuzz", "-i", "/tests", "-o", "/out"]
CMD ["/qhull/build/qhull"]
COPY --from=builder /qhull/build/qhull /qhull
ENTRYPOINT ["afl-fuzz", "-i", "/testsuite", "-o", "/out"]
CMD ["/qhull"]
5 changes: 2 additions & 3 deletions Mayhemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
image: ghcr.io/capuanob/qhull-fuzz:latest
project: qhull
target: qhull-fuzz
tests:
testsuite:
- file://corpus

cmds:
- cmd: /qhull/build/qhull
- cmd: /qhull
afl: true
max_length: 50000000
10,002 changes: 0 additions & 10,002 deletions corpus/1000s

This file was deleted.

130 changes: 0 additions & 130 deletions corpus/cd7

This file was deleted.

10 changes: 0 additions & 10 deletions corpus/cdd2

This file was deleted.

52 changes: 0 additions & 52 deletions corpus/d4

This file was deleted.

26 changes: 0 additions & 26 deletions corpus/dd12

This file was deleted.

1 change: 0 additions & 1 deletion corpus/random

This file was deleted.

Loading

0 comments on commit 8606817

Please sign in to comment.