A wrapper on Git-Apply designed to intelligently apply security patches
applyplus.py [-h] [--reverse] pathToPatch
patch_file_name
is required and is the patch you are applying
--help
will list available subcommands and some
concept guides
--reverse
will run git apply --reverse
Requirments:
pip3 install -r src/requirements.txt
https://www.srcml.org/#download
After the installation completes, ensure that srcml
can be run from the terminal. If
the Command Not Found
error arrises, follow the instructions highlighted in this document
https://osxdaily.com/2018/05/24/command-not-found-mac-terminal-error-fix/.
A binary for MacOS/Ubuntu devices is provided in this project under the patch_context/srcSliceBuilds
folder.
python3 ../vulnerableforks/tests/<test_file_name>