Closed jonathan-m-phillips closed 11 months ago
Hi there, I'm going to experiment with the project and will keep you updated on my progress.
Partially solved by #58.
Ping - should this issue be closed? It appears it was partially fixed by #58 and then more work was done on #59 that was merged.
Thank you for reminding.
Fixed by #58 and #59.
I am encountering compilation errors with the Checker Framework when minimizing classes from the ASHE project, specifically the ASHE#run(String, String, String) method. The minimization process seems to disrupt the dependencies within the project, particularly when the target class relies on other internal classes.
Working Example
Arguments
NOTE: The arguments are different than the main branch on GitHub. The directory has changed on my local environment, which is why the typical would not use edu.njit.jerse.ashe.ASHE#run(String, String, String), but rather edu.njit.jerse.ASHE#run(String, String, String). I used the following arguments for the Specimin minimization process:
--args=--outputDirectory "my/temp/dir" --root "my/root/to/ASHE_Automated-Software-Hardening-for-Entrypoints/src/main/java" --targetFile "edu/njit/jerse/ashe/ASHE.java" --targetMethod "edu.njit.jerse.ashe.ASHE#run(String, String, String)"
Relevant Code Snippet from ASHE.java
Exception Observed
During the compilation with Checker Framework after minimization, the following compilation errors were observed (example paths are replaced with generic ones for privacy):
Suspected Issue
It appears that the Specimin minimization process might not be correctly handling or preserving the project's internal dependencies, leading to compilation failures. The issue is particularly evident when the minimized class is tightly coupled with other internal components of the project.