This repository contains PoCs for crashes discovered in srividya-p/magma. It currently only contains bugs that were ported for for the latest target versions (first commit of 2025), and were triggered during the evaluation of new magma. The list of ported bugs can be found in this document.
To run a PoC create a file named config in the repository root with the following values (for example):
TARGET=libpng
BUG=TIF009To build the container with the bug applied and run the PoC script for the bug:
$ ./run.shTo add a new PoC, create a folder <TARGET>/<BUG>. This folder must contain the following:
- Input file causing the crash named with the format
*_<BUG>.* - Patch to apply to the
TARGETsource code to introduce the bug - A
poc.shscript to reproduce the crash using the container specified inTAG - [OPTIONAL] A folder with other input files which also cause the same bug