Metadata-Version: 2.2
Name: fuzz-introspector
Version: 0.1.10
Summary: Package for analyzing Fuzzing set ups.
Author-email: David Korczynski <david@adalogics.com>
Project-URL: Homepage, https://github.com/ossf/fuzz-introspector
Project-URL: Bug Tracker, https://github.com/ossf/fuzz-introspector/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4==4.10.0
Requires-Dist: cxxfilt==0.3.0
Requires-Dist: lxml==4.9.1
Requires-Dist: matplotlib==3.10.0
Requires-Dist: PyYAML==6.0.1
Requires-Dist: soupsieve==2.2.1
Requires-Dist: yapf==0.40.1
Requires-Dist: flake8
Requires-Dist: pep8
Requires-Dist: mypy
Requires-Dist: psutil
Requires-Dist: toml
Requires-Dist: pytest
Requires-Dist: sphinx==6.0.0
Requires-Dist: sphinx_rtd_theme
Requires-Dist: configparser
Requires-Dist: coverage
Requires-Dist: atheris
Requires-Dist: setuptools>=65.5.1
Requires-Dist: tqdm
Requires-Dist: rust-demangler
Requires-Dist: matplotlib
Requires-Dist: numpy==2.1.0
Requires-Dist: tree-sitter==0.23.2
Requires-Dist: tree-sitter-python==0.23.6
Requires-Dist: networkx
Requires-Dist: tree-sitter-languages==1.10.2
Requires-Dist: tree-sitter-c==0.23.4
Requires-Dist: tree-sitter-cpp==0.23.4
Requires-Dist: tree-sitter-go==0.23.4
Requires-Dist: tree-sitter-java==0.23.5
Requires-Dist: tree-sitter-rust==0.23.2

# Fuzz Introspector Python Package

Library for analysing fuzzer-relevant components of source code.

Example:

```python
from fuzz_introspector.frontends import core

SAMPLE="""void parse(const char *data, size_t size) {
  return;
}

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  parse((const char*)data, size)
}
"""

source = core.analyse_source_file(SAMPLE, 'c')
func = source.get_function_node('LLVMFuzzerTestOneInput')
if func:
    print(func.callsites())
```

Running the above:

```sh
$ python3 example.py
[('parse', (122, 127))]
```
