Rasmus Lerchedahl Petersen
|
6f5b949ec8
|
Python: adjust test expectations
note that we do retain precision in
`test_dict_from_keyword()`
|
2024-10-04 15:30:02 +02:00 |
|
Rasmus Lerchedahl Petersen
|
a4c1a622b7
|
Merge branch 'main' of https://github.com/github/codeql into python/add-comprehension-capture-flow
|
2024-10-04 14:53:03 +02:00 |
|
Rasmus Lerchedahl Petersen
|
38b1eb7c71
|
Python: just use ListElementContent for iterables
|
2024-10-01 16:24:15 +02:00 |
|
yoff
|
62509a10c2
|
Update python/ql/test/library-tests/dataflow/coverage/test_builtins.py
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
|
2024-10-01 11:39:12 +02:00 |
|
Rasmus Lerchedahl Petersen
|
bd68986fa4
|
Python: add test showing dict can take multiple arguments
|
2024-10-01 10:01:22 +02:00 |
|
Rasmus Lerchedahl Petersen
|
fb07a56de6
|
Python: adjust test expectations
|
2024-09-30 13:26:59 +02:00 |
|
Rasmus Lerchedahl Petersen
|
f9f46f0f98
|
Python: update test expectations
We now have a new callable, yielding new enclosing callables
|
2024-09-30 12:00:38 +02:00 |
|
Rasmus Lerchedahl Petersen
|
d4ea62edec
|
Python: flow through yield
- add yield as a dataflow return
- replace comprehension store step
with a store step to the yield
|
2024-09-30 09:01:29 +02:00 |
|
Rasmus Lerchedahl Petersen
|
fc2dc28f87
|
python: capture flow through comprehensions
- add comprehension functions as `DataFlowCallable`s
- add comprehension call as `DataFlowCall`
- create capture argument node for comprehension calls
|
2024-09-25 10:02:31 +02:00 |
|
Joe Farebrother
|
48f9e0efe5
|
Adress review comments: Add missing deprecation + additional test case
|
2024-09-23 10:57:04 +01:00 |
|
Joe Farebrother
|
81e99bf1bb
|
Add tests
|
2024-09-20 15:05:51 +01:00 |
|
Joe Farebrother
|
3001a570b2
|
Replace uses of StringConstCompare
|
2024-09-20 14:47:22 +01:00 |
|
Rasmus Wriedt Larsen
|
173cd13ded
|
Python: Add test for impossible isinstance flow
|
2024-07-08 12:06:53 +02:00 |
|
Rasmus Lerchedahl Petersen
|
aa4fd1992e
|
Python: compact types in type models
|
2024-06-25 11:59:55 +02:00 |
|
Rasmus Lerchedahl Petersen
|
5cb37f5c4c
|
python: Document MaD format
- add a few tests reflecting the documentation
- make the mentioned sink-kinds have an effect on relevant queries
|
2024-06-19 17:00:15 +02:00 |
|
Paolo Tranquilli
|
b7a2ea8981
|
CI: accept other diagnostic format related test changes
|
2024-06-19 11:33:50 +02:00 |
|
yoff
|
358c7410c8
|
Merge pull request #16490 from yoff/python/rich-type-column-MaD
Python: Rich `type` column in MaD
|
2024-05-21 11:55:41 +02:00 |
|
Rasmus Lerchedahl Petersen
|
a568873a8e
|
Python: update test expectations
|
2024-05-17 10:59:49 +02:00 |
|
Rasmus Lerchedahl Petersen
|
d4d6b48f98
|
python: add test for subclass instance method
|
2024-05-17 00:03:01 +02:00 |
|
Rasmus Lerchedahl Petersen
|
3d0c42f44d
|
python: rewrite text models to use rich paths
|
2024-05-17 00:03:01 +02:00 |
|
Rasmus Lerchedahl Petersen
|
49ffa8bf07
|
Merge branch 'main' of https://github.com/github/codeql into python/test-constructor-MaD-path
|
2024-05-14 14:30:18 +02:00 |
|
Rasmus Lerchedahl Petersen
|
3716b8c6a0
|
Python: update test to reflect correct behaviour
also add comments
|
2024-04-26 14:21:15 +02:00 |
|
Rasmus Lerchedahl Petersen
|
9f7edf378e
|
Python: fix tests
The way to expose the `self` arguemnt
is to call an instance method on the class,
not on the instance...
|
2024-04-26 14:21:15 +02:00 |
|
Rasmus Lerchedahl Petersen
|
4f46ce1133
|
Python: add test for Argument[0, self, self:] for instance methods
|
2024-04-26 14:21:15 +02:00 |
|
Rasmus Lerchedahl Petersen
|
862942f3d8
|
python: extra test
suggested by @RasmusWL
|
2024-04-26 14:19:10 +02:00 |
|
Rasmus Lerchedahl Petersen
|
adc82b553b
|
Python: more realistic summaries
|
2024-04-26 14:19:10 +02:00 |
|
Rasmus Lerchedahl Petersen
|
c2252e12ac
|
python: sync files
|
2024-04-26 14:19:09 +02:00 |
|
Rasmus Lerchedahl Petersen
|
bab6ecf3bb
|
Python: test the MaD path for constructor calls
|
2024-04-26 14:19:09 +02:00 |
|
Rasmus Wriedt Larsen
|
1bc085c8f7
|
Python: Fixup for callGraphConfig
|
2024-04-23 09:42:35 +02:00 |
|
Rasmus Wriedt Larsen
|
bb00d6919a
|
Python: Move dataflow TestUtil to importable location
|
2024-04-23 09:40:59 +02:00 |
|
Rasmus Wriedt Larsen
|
e0e405bb31
|
Python: replace dataflow-test location in files
|
2024-04-23 09:40:59 +02:00 |
|
Rasmus Wriedt Larsen
|
ce711f7d2f
|
Python: Move dataflow tests out of experimental
|
2024-04-23 09:40:44 +02:00 |
|