All contributions (pull requests) must be made against our dev
branch.
Each modified source file, before merging, must be formatted.
make code-format
This should be fine if you modified one of the files already present in the project, or added a file in a directory we already format, otherwise run:
./.custom-format.py -i file-that-you-have-created.c
Regarding the coding style, please follow the AFL style. No camel case at all and use AFL's macros wherever possible (e.g., WARNF, FATAL, MAP_SIZE, ...).
Remember that AFL++ has to build and run on many platforms, so generalize your Makefiles/GNUmakefile (or your patches to our pre-existing Makefiles) to be as generic as possible.
We welcome contributions to our docs.
Before creating a new file, please check if your content matches an existing file in one the following folders:
When working on the docs, please keep the following guidelines in mind:
dev
, see #how-to-submit-a-pull-request-to-afl.And finally, here are some best practices for writing docs content: