mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
add instance methods in the same class to localFieldStep
This commit is contained in:
@@ -1545,7 +1545,9 @@ module DataFlow {
|
||||
*/
|
||||
predicate localFieldStep(DataFlow::Node pred, DataFlow::Node succ) {
|
||||
exists(ClassNode cls, string prop |
|
||||
pred = cls.getAReceiverNode().getAPropertyWrite(prop).getRhs() and
|
||||
pred = cls.getAReceiverNode().getAPropertyWrite(prop).getRhs() or
|
||||
pred = cls.getInstanceMethod(prop)
|
||||
|
|
||||
succ = cls.getAReceiverNode().getAPropertyRead(prop)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user