Skip to content

Python Program that utilizes Address Sanitizer with Open AI's ChatGPT API to identify problems in code and patch them

Notifications You must be signed in to change notification settings

eng25/RepairGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RepairGPT

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

  1. 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.
  2. Memory Leak
  3. 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

About

Python Program that utilizes Address Sanitizer with Open AI's ChatGPT API to identify problems in code and patch them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published