Multi-purpose extensible self-adaptive optimizer and fuzzer
Project description
Byron is an evolutionary tool: given a problem, it first generates a set of random solutions, then iteratively refines and improves them using the results of their evaluations together with structural information. It may be used as a coverage-driven fuzzer and a general-purpose optimizer.
Byron internally encodes candidate solutions as typed, directed multigraphs and can tackle problems with complex, structured constraints. For instance, it may be used to create realistic programs with loops, interrupts, and recursive subroutines. Gory detail: solutions are heterogeneous forests with additional edges connecting leaves to generic nodes, possibly not in the same tree.
Candidate solutions are dumped as text and then evaluated by calling a user-defined Python function or by invoking a shell script that may use external proprietary tools. Different types of parallelization are supported out of the box, from simple multithreading to the creation of temporary directories where multiple subprocesses are concurrently spawned.
Installation
⚠️ Byron is currently in alpha and under active development
pip install --upgrade byron
Few optional dependencies can enhance Byron, but are not strictly required:
pip install --upgrade matplotlib
pip install --upgrade joblib
pip install --upgrade psutil
Documentation
Some HOWTO's and examples are available as Jupyter notebooks in the examples directory.
Contacts
- Giovanni Squillero — giovanni.squillero@polito.it
- Alberto Tonda — alberto.tonda@inrae.fr
License
Copyright © 2023 Giovanni Squillero and Alberto Tonda
Byron is free and open-source software, and it is distributed under the permissive Apache License 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for byron-0.8a1.dev11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8ddda510fef49f8ff925ea01782b492e8f71b89004ab6da571a80bf4d8f4a71 |
|
MD5 | 6d6ca66280a0095938d4082c890bf781 |
|
BLAKE2b-256 | e8b626da10ed3935360f16d57055deeb13645cd06cad66e70336c2553ffbde88 |