mirror of
https://github.com/github/codeql.git
synced 2026-02-20 08:53:49 +01:00
Fix VariableRead/WriteAcess for instance and class variables
This commit is contained in:
@@ -349,7 +349,12 @@ private module Cached {
|
||||
}
|
||||
|
||||
private class Access extends Generated::Token {
|
||||
Access() { access(this, _) or this instanceof Generated::GlobalVariable }
|
||||
Access() {
|
||||
access(this, _) or
|
||||
this instanceof Generated::GlobalVariable or
|
||||
this instanceof Generated::InstanceVariable or
|
||||
this instanceof Generated::ClassVariable
|
||||
}
|
||||
}
|
||||
|
||||
cached
|
||||
|
||||
Reference in New Issue
Block a user