mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
recognize setters and getters of a class as exported
Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
committed by
GitHub
parent
ceda5f69fc
commit
dd5da79e46
@@ -59,7 +59,7 @@ private DataFlow::Node getAValueExportedByPackage() {
|
||||
func = getAValueExportedByPackage().getALocalSource() and inst = unique( | | func.getAReturn())
|
||||
|
|
||||
clz.getAnInstanceReference() = inst and
|
||||
result = clz.getAnInstanceMethod()
|
||||
result = clz.getAnInstanceMember(_)
|
||||
)
|
||||
or
|
||||
result = getAValueExportedByPackage().getALocalSource()
|
||||
|
||||
Reference in New Issue
Block a user