{{ message }}
Why is this query not detecting this sink #864
Answered
by
aibaars
akanksha1331
asked this question in
Q&A
Replies: 1 comment
0 replies
Answer selected by
akanksha1331
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Have you tried debugging your query with the
CodeQL: Quick evaluationfeature? In the VScode IDE, select a piece of QL code you'd like to inspect, right-click and chooseCodeQL: Quick evaluation.First investigate the
isSinkpredicate:MethodAccessin the editor and quick evaluate, this gives you a list of all method access in the code (possibly quite a lot)sessionUtils.getMethod().getDeclaringType().getName() = "Utils"in the editor and quick evaluate. This should give you all the accesses to methods defined in classes named "Utils"