Metadata-Version: 2.1
Name: libfuzzer
Version: 0.0.1
Summary: libfuzzer
Home-page: https://github.com/wtdcode/libfuzzer
Author: Lazymio
Author-email: mio@lazym.io
License: UNKNOWN
Description: 
        libfuzzer
        -----------
        
        This is raw bindings for libfuzzer which works as a library.
        
        Example:
        
        ```python
        #!/usr/bin/env python3
        
        from libfuzzer import *
        import os
        import sys
        
        Counters = CreateLibFuzzerCounters(4096)
        
        def TestOneInput(input: bytes):
            # Instrument the code manually.
            l = len(input)
        
            if l == 0:
                Counters[0] += 1
            elif l == 8:
                Counters[1] += 1
            elif l == 16:
                Counters[2] += 1
                os.abort()
            else:
                Counters[3] += 1
            
            Counters[4] += 1
            return 0
        
        # If you are using -fork=1, make sure run it like `python3 ./example.py` or
        # `./example.py` instead of `python3 example.py`.
        LLVMFuzzerRunDriver(sys.argv, TestOneInput, Counters)
        ```
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Requires: ctypes
Provides: libfuzzer
Description-Content-Type: text/markdown
