mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
C#/Java: Exclude summaries using callbacks in fields, properties and synthetic fields.
This commit is contained in:
@@ -254,6 +254,8 @@ module ModelGeneratorInput implements ModelGeneratorInputSig<Location, JavaDataF
|
||||
c instanceof DataFlowUtil::SyntheticFieldContent
|
||||
}
|
||||
|
||||
predicate isCallback(DataFlow::ContentSet c) { none() }
|
||||
|
||||
string getSyntheticName(DataFlow::ContentSet c) {
|
||||
exists(Field f |
|
||||
not f.isPublic() and
|
||||
|
||||
Reference in New Issue
Block a user