Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Solution Generator #15

Open
2 tasks
Yiannis128 opened this issue May 4, 2023 · 1 comment
Open
2 tasks

Project Solution Generator #15

Yiannis128 opened this issue May 4, 2023 · 1 comment
Labels
enhancement New feature or request research This issue isn't being worked on, it is being considered, and researched.
Milestone

Comments

@Yiannis128
Copy link
Collaborator

Yiannis128 commented May 4, 2023

Project Solution Generator

This issue is going to track the addition of a mode that is designed to handle entire solutions/projects. The mode is going to be activated by a flag -d --document-mode and will change the way ESBMC-AI behaves. Instead of receiving a filename, the mode can also receive a directory.

  1. It will go through every recognizable file in the directory (C files, etc) and activate ESBMC on each one of them.
  2. ESBMC-AI will then leave a comment file for each file that contains vulnerable code. For example, if ESBMC finds that src/world_simulator.c has issues, then it will prompt the AI to fully explain the output of ESBMC and place the contents in a file src/world_simulator.c.comments.
  3. This will allow developers to slowly sweep through their solution and fix all the vulnerabilities reported by ESBMC.
  4. Each iteration of a file in the source tree will call the AI model with the source code file and the ESBMC output.

TODO

These are the tasks left to do to implement this:

  • Basic implementation
  • Add a -o --output-dir flag that will take another filepath with a destination to place all the .comments files in. So the original project directory is not changed.
@Yiannis128 Yiannis128 added enhancement New feature or request research This issue isn't being worked on, it is being considered, and researched. labels May 4, 2023
@Yiannis128 Yiannis128 added this to the Version 1.0 milestone May 4, 2023
@Yiannis128
Copy link
Collaborator Author

See #103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request research This issue isn't being worked on, it is being considered, and researched.
Projects
None yet
Development

No branches or pull requests

1 participant