Python Program that utilizes Address Sanitizer with Open AI's ChatGPT API to identify problems in code and patch them
TestCode folder contains test code used split into the 3 subfolders based on category and then further split based on original code or patches generated by RepairGPT
- BufferOverflow Note that because of the way that RepairGPT is written as well as the limitations of AddressSanitizer is written that RepairGPT cannot currently handle files 3 - 5. However they were still used in the inital Vulnerability Detection testing.
- Memory Leak
- Off By 1
Additionally there is a clean.c file that was used in testing RepairGPT
SecretKey.txt is for storing the OpenAI API key