- Notifications
You must be signed in to change notification settings - Fork1.7k
Java: useoverlayChangedFiles
in discard prediactes#20049
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull Request Overview
This PR refactors the overlay system by replacing theextractedInOverlay
predicate with the existingoverlayChangedFiles
predicate for determining which files should be discarded in the base variant.
- Removes the
extractedInOverlay
predicate definition - Updates discard predicates to use
overlayChangedFiles
instead ofextractedInOverlay
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
java/ql/lib/semmle/code/java/Overlay.qll | RemovesextractedInOverlay predicate and updates two discard predicates to useoverlayChangedFiles |
java/ql/lib/semmle/code/Location.qll | Updates location discard predicate to useoverlayChangedFiles |
16e9e8e
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This should improve accuracy of overlay analysis, since we'll now correctly discard entities from files that were deleted.