Commit Graph

9613 Commits

Author SHA1 Message Date
alexey
86ec047be2 Rename files by style guide and change query metadata 2019-05-29 15:35:58 +01:00
Mark Shannon
71ae61c9f7 Python points-to: Remove duplicate import. 2019-05-29 15:02:59 +01:00
Mark Shannon
1ed3e5d9bc Python points-to: Fix ordering of string constants. 2019-05-29 15:02:59 +01:00
Mark Shannon
7181a025f8 Python points-to: Update expected results to account for fixed tuple formatting. 2019-05-29 15:02:59 +01:00
alexey
96380f6767 Edit query metadata and help and add new entry to the change-notes 1.21 2019-05-29 13:22:35 +01:00
Mark Shannon
77c508f954 Python points-to: More comment clarifications and typo fixes. 2019-05-28 17:52:55 +01:00
Mark Shannon
3adaf07170 Python points-to: Make purpose of '$' variable explicit. 2019-05-28 17:23:24 +01:00
Mark Shannon
66e64615ee Python points-to: Improve qldoc and internal API a bit. 2019-05-28 17:17:05 +01:00
alexey
8168c0ee0a Fix typo in test for the query 2019-05-23 15:54:59 +01:00
Mark Shannon
e1614886c7 Python points-to. Improve API bey renaming a couple of methods and clarifying a few comments. 2019-05-22 17:28:25 +01:00
alexey
e214174114 add return-or-yield-outside-of-function Python query 2019-05-22 15:27:32 +01:00
Mark Shannon
1018f27815 Python points-to: Add more comments about TObject and ObjectInternal. 2019-05-22 12:59:51 +01:00
Mark Shannon
f057d5cb6b Python: Speed up MRO calculation a bit. 2019-05-17 14:05:39 +01:00
Mark Shannon
685826e436 Python points-to: Prevent bad magic. 2019-05-17 14:04:57 +01:00
Mark Shannon
f975b8b87d Python: Avoid bad magic. 2019-05-17 12:15:51 +01:00
Mark Shannon
8558cb3f2f Python points-to: Update Overview.qll to reflect new object model. 2019-05-16 16:25:48 +01:00
Mark Shannon
2f940d013b Python points-to: Fully document object classes. 2019-05-16 16:18:54 +01:00
Luke Cartey
5e409a3eaa Python: Change invalid @kind. 2019-05-16 12:33:02 +01:00
Mark Shannon
d6d72dcef4 Python: Account for --respect-init when determining module name. 2019-05-16 11:46:47 +01:00
Mark Shannon
d1a711e459 Merge pull request #1296 from RasmusSemmle/master
Add pythagorean query
2019-05-16 11:02:56 +01:00
Mark Shannon
d7558e8fe5 Python: Fix CP in pruner and cache to avoid re-evaluation. 2019-05-15 15:26:44 +01:00
Mark Shannon
2b72a50dbf Python points-to: Fix up re extension. 2019-05-15 11:24:40 +01:00
Mark Shannon
bf78c62594 Python points-to: Add objects representing missing modules and their attributes. 2019-05-15 11:24:01 +01:00
Taus
1076c03016 Merge pull request #1323 from markshannon/hotfix-path-fix
Python QL: Use Module.getPath() to implement ModuleObject.getPath()
2019-05-15 11:46:36 +02:00
Mark Shannon
0035dc2982 Python QL: Use Module.getPath() to implement ModuleObject.getPath() 2019-05-15 10:09:00 +01:00
Mark Shannon
b10a7cd3a4 Python points-to: Make behviour of instances more consistent. 2019-05-14 15:50:20 +01:00
Mark Shannon
8f74f918c7 Python points-to: Speed up call-points-to. 2019-05-14 14:49:29 +01:00
Mark Shannon
0afcb11a13 Python points-to: Make sure reachability can skip over if-statements. 2019-05-14 11:52:33 +01:00
Mark Shannon
a5ff527ac2 Python: Remove test due to instability across minor versions. 2019-05-14 10:45:43 +01:00
Mark Shannon
a8dc2908de Python: Update test results. 2019-05-13 17:32:29 +01:00
Mark Shannon
1c20336eb9 Python points-to. Fix attribute lookup for type. 2019-05-13 17:24:02 +01:00
Mark Shannon
a03e101e4f Python points-to: Improve performance. 2019-05-13 17:15:01 +01:00
Mark Shannon
972ac0fdbd Python: Update test result. 2019-05-13 15:15:27 +01:00
Mark Shannon
5f9a807392 Python points-to: Fix handling of builtin-method objects. 2019-05-13 15:08:58 +01:00
Mark Shannon
33043d6a8a Python: update exptected test results. 2019-05-13 14:35:22 +01:00
Mark Shannon
1f00c3b248 Python points-to: Fix up metaclass determination for Python 2. 2019-05-13 14:34:33 +01:00
Mark Shannon
26044f20c7 Python points-to: Fix up tuple inequality analysis. 2019-05-13 12:59:19 +01:00
Mark Shannon
0491fe1356 Python points-to: Update 'analysis' query test results. 2019-05-13 12:11:19 +01:00
Mark Shannon
2905737a0e Python points-to: Fix analysis of zero-arg super(). 2019-05-13 12:00:38 +01:00
Mark Shannon
d74c76510f Python points-to: Don't track non-descriptor class attributes on instances. Update more tests. 2019-05-13 11:46:55 +01:00
Mark Shannon
beebd0e15c Python points-to: Be more specific when describing inheritance analysis failures. 2019-05-13 10:50:20 +01:00
Mark Shannon
7244b9fc6f Python points-to: Update some more expected test results. 2019-05-13 10:49:07 +01:00
Mark Shannon
315fe0ab94 Python points-to: Update an expected file. 2019-05-10 17:00:03 +01:00
Mark Shannon
80f6883304 Python points-to: Update test results. 2019-05-10 16:40:53 +01:00
Mark Shannon
a1bf071f55 Python points-to: Fix getattr() points-to. 2019-05-10 16:36:09 +01:00
Mark Shannon
8b28105677 Python points-to: update some more test results. 2019-05-10 16:05:37 +01:00
Mark Shannon
76c43b491f Python points-to: Improve handling of attributes. 2019-05-10 16:05:11 +01:00
Mark Shannon
992ee2f150 Python points-to: Fix up some test results. 2019-05-10 16:03:27 +01:00
Mark Shannon
2db0bd9483 Python: Remove obsolete tests. 2019-05-10 13:04:43 +01:00
Mark Shannon
39861597e5 Python points-to: Fix up handiling of metaclasses, new-style and type-heirarchy failure analysis. 2019-05-10 13:02:36 +01:00