Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Add test that parses fuzzer_stats #17

Merged
merged 5 commits into from
Sep 2, 2019
Merged

Conversation

neuracr
Copy link
Contributor

@neuracr neuracr commented Aug 29, 2019

PR #15 added new statistics outputed to the out/fuzzer_stats file. Add tests for it.

  • create a .travis/ directory in which we can put helper scripts for travis
  • create.travis/check_fuzzer_stats.sh to parse out/fuzzer_stats and check for expected key:value pairs.
  • run several jobs to test for different environment variables ( AFL_EXIT_WHEN_DONE, AFL_BENCH_JUST_ONE, AFL_BENCH_UNTIL_CRASH, and manual stopping)

Example of the build can be found at https://travis-ci.com/neuracr/AFL/builds/125059976 .

TODO:

  • test for more key:value pairs
  • find a better way to test the peak_rss_mb. Right now it is harcoded in the test.

.travis.yml Outdated Show resolved Hide resolved
.travis.yml Outdated Show resolved Hide resolved
@neuracr neuracr marked this pull request as ready for review September 2, 2019 08:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants