We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f377d commit cd30f88Copy full SHA for cd30f88
fuzz.py
@@ -8,6 +8,8 @@
8
from pythonfuzz.fuzzer import Fuzzer
9
import pythonfuzz.fuzzer as fuzzer_ns # For patching pythonfuzz
10
11
+from parser.typecheck.typecheck import NameResolver
12
+
13
14
class UsePerfCounterInsteadOfTime:
15
"""Hack to avoid overwriting everyone's time module so we only
@@ -30,7 +32,7 @@ def fuzz(buf):
30
32
try:
31
33
string = buf.decode("ascii")
34
- AstGen(CstGen(Tokenizer(string))).parse()
35
+ NameResolver(AstGen(CstGen(Tokenizer(string)))).run()
36
except BaseParseError:
37
pass
38
except UnicodeDecodeError:
0 commit comments