[Java] transtive call chain considering anonymous class, runtime dispatch and overriding #20488
Unanswered
MengJingsong
asked this question in
Q&A
Replies: 1 comment
-
Use
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all,
I’m using CodeQL to analyze a large codebase, and I’ve run into questions around runtime dispatch and polymorphism. Specifically, I’d like to check whether one method transitively calls another.
Here is an example code:
I want to determine whether func3() transitively invokes func4().
Does anyone know how to write a CodeQL query to implement this check?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions