Instrument a Python program for AFL fuzzing
masterTo enable American Fuzzy Lop (AFL) fork server and instrumentation for pure-Python code, add afl.init() to your target program. It is recommended to do this after all other modules have been imported.
Note that instrumentation is implemented via a Python trace function that triggers whenever a new local scope is entered. For correct instrumentation, you may need to wrap your main program logic inside a function.
import afl
afl.init()