Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8558cb3

Browse files
committed
Python points-to: Update Overview.qll to reflect new object model.
1 parent 2f940d0 commit 8558cb3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

python/ql/src/semmle/python/pointsto/Overview.qll

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@
4444
* * Functions (both in the source and builtin)
4545
* * Literal constants defined in the source (string and numbers)
4646
* * Constant objects defined in compiled libraries and the interpreter (None, boolean, strings and numbers)
47-
* * Some calls (many calls are absent as we can infer what the call returns). Consider a call to represent the set of objects that it could return.
48-
* * Some other constructs that might create a new object.
47+
* * A few other constants such as small integers.
48+
* * Instances of classes
49+
* * Bound methods, static- and class-methods, and properties.
50+
* * Instances of `super`.
51+
* * Missing modules, where no concrete module is found for an import.
4952
*
5053
* A number of constructs that might create a new object, such as binary operations, are omitted if there is no useful information to can be attached to them and they would just increase the size of the database.
5154
*

0 commit comments

Comments
 (0)