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

Add Directory Processing and Patch Output Generation #140

Merged
merged 18 commits into from
Sep 5, 2024

Conversation

Yiannis128
Copy link
Collaborator

@Yiannis128 Yiannis128 commented Jul 23, 2024

This PR will implement a refactor of a few base systems, along with the functionality to process entire directories. The refactor implements the Solution class that allows to handle multiple files using SourceFile. SourceFile also supports tracking of history of patches and verifier output for each patch.

The PR also adds the ability to output the changes to fixed source code in diff format.

TODO

  • Write solution.py tests
  • Better output formatting for when processing directories (currently just prints all output without any separation)
  • esbmc_load_source_code should use save_file from SourceFiles.

@Yiannis128 Yiannis128 added the enhancement New feature or request label Jul 23, 2024
@Yiannis128 Yiannis128 self-assigned this Jul 23, 2024
@Yiannis128 Yiannis128 linked an issue Jul 23, 2024 that may be closed by this pull request
2 tasks
@Yiannis128 Yiannis128 changed the title Fix Directory Add Directory Processing and Patch Output Generation Sep 5, 2024
@Yiannis128 Yiannis128 merged commit ee754d4 into master Sep 5, 2024
0 of 2 checks passed
@Yiannis128 Yiannis128 deleted the run_on_directory branch September 5, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fix Code Mode] Implement directory processing
1 participant