GitXplorerGitXplorer
Z

hypofuzz

public
83 stars
5 forks
21 issues

Commits

List of commits on branch master.
Verified
135ecd3664d90e938e5beeee07fcdfb2f0f42513

Merge pull request #47 from tybug/sysmon

ttybug committed 5 days ago
Unverified
c34a1670b815dc80a599d4aeaeb0041c567ae5fb

try less strict test requirements

ttybug committed 5 days ago
Unverified
4882dd2dc6791d43e5f72b5b854eb3e16b8c3d63

remove warn_unreachable (hits sys.version_info branch)

ttybug committed 8 days ago
Unverified
eb1c4cf542e2bd82d4a10bb624308f4c73bc35ff

typing fixes

ttybug committed 8 days ago
Unverified
b8a35c68f966f9bb13b659f9a351574b1f8b7087

bump hypothesis requirement

ttybug committed 8 days ago
Unverified
9abeea5253607c60558c8f24497f034e0f5f2930

bump test deps

ttybug committed 8 days ago

README

The README file for this repository.

Adaptive fuzzing of Hypothesis tests.

Property-based approaches help you to write better tests which find more bugs, but don't have great ways to exchange much more CPU time for more bugs. The goal of this project is to bring togther the best parts of fuzzing and PBT.

Motivation

You can run a traditional fuzzer like AFL on Hypothesis tests to get basic coverage guidance. This works OK, but there's a lot of performance overhead. Installing, configuring, and connecting all the parts is a pain, and because it assumes one fuzz target per core you probably can't scale up far enough to fuzz your whole test suite.

Alternatively, you can just run Hypothesis with a large max_examples setting. This also works pretty well, but doesn't get the benefits of coverage guidance and you have to guess how long it'll take to run the tests - each gets the same budget.

HypoFuzz solves all of these problems, and more!

Features

  • Interleave execution of many test functions
  • Prioritise functions where we expect to make progress
  • Coverage-guided exploration of your system-under-test
  • Seamless python-native and CLI integrations (replaces the pytest command)
  • Web-based time-travel debugging with PyTrace (automatic if you pip install hypofuzz[pytrace])

Read more about HypoFuzz at https://hypofuzz.com/docs/, including the changelog.