mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Python: Give most non-self instance attributes the 'unknown' value; improves reachability analysis.
This commit is contained in:
@@ -610,7 +610,6 @@ module PointsTo {
|
||||
points_to(obj_node, context, x, icls, _) and
|
||||
(not x instanceof ModuleObject and not x instanceof ClassObject) and
|
||||
not icls.isBuiltin() and
|
||||
Types::class_has_attribute_bool(icls, name) = false and
|
||||
value = unknownValue() and cls = theUnknownType() and origin = f
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user