mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
PS: Force lower casing on method edges.
This commit is contained in:
@@ -543,7 +543,9 @@ module API {
|
||||
|
||||
cached
|
||||
predicate methodEdge(Node pred, string name, Node succ) {
|
||||
exists(DataFlow::CallNode call | succ = MkMethodAccessNode(call) and name = call.getName() |
|
||||
exists(DataFlow::CallNode call |
|
||||
succ = MkMethodAccessNode(call) and name = call.getName().toLowerCase()
|
||||
|
|
||||
pred = getForwardEndNode(getALocalSourceStrict(call.getQualifier()))
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user