Skip to content

Commit

Permalink
Fuzzer: Use Atheris v2
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Jul 18, 2021
1 parent 7026fc9 commit 57b7992
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions fuzzer/fuzz.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# TODO: move all imports except `atheris` under this contextmanager in atheris>1.0.11
# with atheris.instrument_imports():
from math import isnan
import sys
import warnings

import atheris
import tomli_w

import tomli
with atheris.instrument_imports():
from math import isnan
import sys
import warnings

import tomli_w

import tomli

# Disable any caching used so that the same lines of code run
# on a given input consistently.
Expand Down
2 changes: 1 addition & 1 deletion fuzzer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# sudo apt-get install clang
wheel
atheris==1.0.11
atheris==2.0.0
tomli_w>=0.2.2

0 comments on commit 57b7992

Please sign in to comment.