recognize setters and getters of a class as exported

Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
Erik Krogh Kristensen
2022-09-13 10:04:02 +02:00
committed by GitHub
parent ceda5f69fc
commit dd5da79e46

View File

@@ -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()