Skip to content

Fix Issue 113: Call graph is missing edges to implementations of interface classes. Merge to main. #116

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

Merged

Conversation

rahlk
Copy link
Collaborator

@rahlk rahlk commented Feb 12, 2025

We remove entrypoint methods filter so WALA can use every method to build it's call graph thereby enabling package private methods/classes.

Motivation and Context

Call graph edges do not resolve to interface class subtypes or to/from package private methods

How Has This Been Tested?

We added a new test application with a package private method(s) and an integration test to ensure that these methods were indeed present in the call graph.

Breaking Changes

No.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the Codellm-Devkit Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

For now, we keep RTACallGraphBuilder(...) for speed and scalability.

Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
@rahlk rahlk added the bug Something isn't working label Feb 12, 2025
@rahlk rahlk self-assigned this Feb 12, 2025
@rahlk rahlk linked an issue Feb 12, 2025 that may be closed by this pull request
5 tasks
@rahlk rahlk marked this pull request as draft February 12, 2025 02:19
@rahlk rahlk requested a review from sinha108 February 12, 2025 02:20
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
…ion to use try-with-resources

Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
@rahlk rahlk marked this pull request as ready for review February 17, 2025 22:39
@rahlk rahlk requested review from rangeetpan and removed request for sinha108 February 17, 2025 22:41
@rahlk rahlk changed the title Issue 113: Call graph is missing edges to implementations of interface classes Fix Issue 113: Call graph is missing edges to implementations of interface classes. Merge to main. Feb 17, 2025
@rahlk rahlk merged commit bfc1f11 into main Feb 17, 2025
@rahlk rahlk deleted the 113-call-graph-is-missing-edges-to-implementations-of-interfaces branch February 19, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Call graph is missing edges to implementations of interfaces
2 participants