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

Change temp folder handling. #28

Closed
Yiannis128 opened this issue May 18, 2023 · 3 comments · Fixed by #42
Closed

Change temp folder handling. #28

Yiannis128 opened this issue May 18, 2023 · 3 comments · Fixed by #42
Labels
enhancement New feature or request

Comments

@Yiannis128
Copy link
Collaborator

Yiannis128 commented May 18, 2023

Currently, any file that's passed by the AI model into ESBMC is placed in temp directory created in the CWD of the user. The file is always called temp.c regardless if it is a java file or any other file whatsoever. A different approach needs to be designed with the following features:

  • Language agnostic: If it is a different language to C, save it in its respective language. This is because ESBMC will not be able to detect any other languages if the files are all saved as C.
  • Move the temp folder to /tmp and windows equivalent... On Linux consider the $HOME/.cache folder.
@lucasccordeiro
Copy link

lucasccordeiro commented May 18, 2023 via email

@Yiannis128
Copy link
Collaborator Author

The issue will be implemented in temp-dir-handling

@Yiannis128 Yiannis128 added the enhancement New feature or request label May 19, 2023
@Yiannis128
Copy link
Collaborator Author

Implemented in 729b176

@Yiannis128 Yiannis128 linked a pull request May 19, 2023 that will close this issue
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 a pull request may close this issue.

2 participants