We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b3ca13 commit 37cfb54Copy full SHA for 37cfb54
python/ql/src/analysis/RatioOfDefinitions.ql
@@ -7,7 +7,7 @@ import DefinitionTracking
7
8
predicate want_to_have_definition(Expr e) {
9
/* not builtin object like len, tuple, etc. */
10
- not exists(Object cobj | e.refersTo(cobj) and cobj.isC()) and
+ not exists(Value builtin | e.pointsTo(builtin) and builtin.isBuiltin()) and
11
(
12
e instanceof Name and e.(Name).getCtx() instanceof Load
13
or
0 commit comments