Rasmus Lerchedahl Petersen
|
efc5cfb852
|
Merge branch 'main' of github.com:github/codeql into python-dataflow/flow-summaries-from-scratch
|
2022-09-12 19:56:16 +02:00 |
|
Asger F
|
296aa52ef0
|
Python: Add API::EntryPoint
Python: add EntryPoint test
|
2022-09-03 13:24:46 +02:00 |
|
yoff
|
4a5fa5993d
|
Apply suggestions from code review
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
|
2022-08-25 10:47:16 +02:00 |
|
yoff
|
75ac24a847
|
Merge branch 'main' into python-dataflow/flow-summaries-from-scratch
|
2022-08-10 10:57:59 +02:00 |
|
Rasmus Wriedt Larsen
|
f89b32183f
|
Merge branch 'main' into typetracker-decorators
|
2022-08-08 11:52:09 +02:00 |
|
yoff
|
f52d792b36
|
Merge branch 'main' of https://github.com/github/codeql into python-dataflow/flow-summaries-from-scratch
|
2022-07-01 12:01:07 +00:00 |
|
yoff
|
f6af24894d
|
python: recover isPackageUsed
- add `unknownAttribute` to pre-compute negation
- add `Node`-less formulation of "is imported"
|
2022-07-01 09:39:07 +00:00 |
|
yoff
|
e54ada175d
|
python: rewrite not away
A `LocalSourceNode` is either a `ModuleVariableNode`
or an `ExprNode`.
|
2022-07-01 07:03:14 +00:00 |
|
Asger F
|
4c73ab2679
|
Apply suggestions from code review
Co-authored-by: Taus <tausbn@github.com>
|
2022-06-28 09:48:53 +02:00 |
|
Asger F
|
a033338d20
|
Python: Explicitly mention lack of transitive flow in asSource/asSink
|
2022-06-28 09:46:26 +02:00 |
|
Asger F
|
9b27a7cbcd
|
Python: Dont claim that external libraries are excluded from the database
|
2022-06-28 09:28:26 +02:00 |
|
yoff
|
140dc1a61e
|
merge in main
|
2022-06-23 09:05:32 +00:00 |
|
Asger F
|
092a6a01ac
|
Python: Update member documentation
|
2022-06-21 12:44:06 +02:00 |
|
Asger F
|
fecbfa6ca3
|
Python: add deprecation
|
2022-06-21 12:44:06 +02:00 |
|
Asger F
|
3a669a8d21
|
Python: getAValueReachingRhs -> getAValueReachingSink
|
2022-06-21 12:44:06 +02:00 |
|
Asger F
|
b096f9ec72
|
Python: Rename getAUse -> getAValueReachableFromSource
|
2022-06-21 12:44:06 +02:00 |
|
Asger F
|
181a53bd03
|
Python: Rename getAnImmediateUse -> asSource
|
2022-06-21 12:44:06 +02:00 |
|
Asger F
|
60fde3c031
|
Python: Rename getARhs -> asSink
|
2022-06-21 12:44:06 +02:00 |
|
Asger F
|
8f259d4bb6
|
Python: port API graph doc comment
|
2022-06-21 12:44:06 +02:00 |
|
Rasmus Wriedt Larsen
|
f1b0a814e0
|
Python: Apply suggestions from code review
Co-authored-by: yoff <lerchedahl@gmail.com>
|
2022-06-17 15:04:57 +02:00 |
|
Rasmus Wriedt Larsen
|
d6e68258a4
|
Python: API-graphs: allow class decorators in .getASubclass()
|
2022-06-15 17:30:34 +02:00 |
|
Erik Krogh Kristensen
|
f8281b43b1
|
autoformat
|
2022-05-23 19:58:48 +02:00 |
|
Erik Krogh Kristensen
|
b6a4f43737
|
expand qldoc for getNumArgument
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
|
2022-05-23 18:51:33 +02:00 |
|
Erik Krogh Kristensen
|
204e01fc24
|
change getNumArgument to only count positional arguments
|
2022-05-20 12:43:06 +02:00 |
|
Erik Krogh Kristensen
|
d5f0446940
|
exclude self parameter from the API-graph edge for keywordParameter
|
2022-05-17 22:34:38 +02:00 |
|
Erik Krogh Kristensen
|
31e9876de7
|
Merge branch 'main' into pyMaD
|
2022-05-12 14:43:16 +02:00 |
|
Rasmus Wriedt Larsen
|
f8253f5fef
|
Python: Fully disallow API::moduleImport of module with dots
Inspired by discussion about this for MaD in
https://github.com/github/codeql/pull/8883#discussion_r865858084
|
2022-05-12 13:30:26 +02:00 |
|
Erik Krogh Kristensen
|
8ffc05c84b
|
count both named and positional arguments in the WithArity filter
|
2022-05-03 21:21:57 +02:00 |
|
Erik Krogh Kristensen
|
c1d3738fb8
|
fix API-graphs such that the first parameter is the first non-self parameter
|
2022-05-02 12:52:02 +02:00 |
|
Erik Krogh Kristensen
|
547047ef19
|
add self parameters to API-graphs, and add support for self parameters in MaD
|
2022-05-02 12:50:31 +02:00 |
|
Erik Krogh Kristensen
|
1c2c9159a9
|
initial MaD implementation for Python
|
2022-05-02 12:45:19 +02:00 |
|
Erik Krogh Kristensen
|
aec8413487
|
PY: mention newtype constructors in API graph label classes
|
2022-04-20 18:38:44 +02:00 |
|
Erik Krogh Kristensen
|
1218c4f4ed
|
fix ql/name-casing, and drive-by QL-for-QL typo fix
|
2022-03-30 22:59:14 +02:00 |
|
Erik Krogh Kristensen
|
60b5af215f
|
cached stages iteration 2
|
2022-03-30 22:53:59 +02:00 |
|
Erik Krogh Kristensen
|
7691807713
|
delete the getLastParameter predicate from ApiGraphs
|
2022-03-04 16:24:54 +01:00 |
|
Erik Krogh Kristensen
|
934e06ca3b
|
fix mistake in argumentPassing. The type-tracking was not required to be in an end state
|
2022-03-04 09:49:42 +01:00 |
|
Erik Krogh Kristensen
|
5130929358
|
remove comment suggesting that the receiver is parameter -1
|
2022-02-28 15:25:34 +01:00 |
|
Erik Krogh Kristensen
|
843ed8fca5
|
rename pw to aw
Co-authored-by: yoff <lerchedahl@gmail.com>
|
2022-02-28 15:25:25 +01:00 |
|
Erik Krogh Kristensen
|
5e23da813f
|
rename named-parameters to keyword-parameters
|
2022-02-03 23:10:39 +01:00 |
|
Erik Krogh Kristensen
|
e434f075fa
|
introduce, and use, API::APICallNode
|
2022-02-03 23:10:39 +01:00 |
|
Erik Krogh Kristensen
|
3801a158a8
|
remove module exporst nodes from API graphs
|
2022-02-03 23:10:39 +01:00 |
|
Erik Krogh Kristensen
|
c3f4a851f0
|
remove some TODOs I won't do
|
2022-02-03 23:10:39 +01:00 |
|
Erik Krogh Kristensen
|
ef5818e243
|
support import * in ApiGraphs
|
2022-02-03 23:10:38 +01:00 |
|
Erik Krogh Kristensen
|
16774ba285
|
add support for named parameters in API graphs
|
2022-02-03 23:10:38 +01:00 |
|
Erik Krogh Kristensen
|
66fd43fc3b
|
add def edge for function returns
|
2022-02-03 23:10:38 +01:00 |
|
Erik Krogh Kristensen
|
d8eea7ba4c
|
property writes are def nodes
|
2022-02-03 23:10:38 +01:00 |
|
Erik Krogh Kristensen
|
a908b219e9
|
more backtracking of def nodes, and lots of tests
|
2022-02-03 23:10:38 +01:00 |
|
Erik Krogh Kristensen
|
038b032a43
|
get basic module exports to work in API-graphs
|
2022-02-03 23:10:38 +01:00 |
|
Erik Krogh Kristensen
|
df9efbe778
|
get mimimal def nodes to work in python
|
2022-02-03 23:10:38 +01:00 |
|
Erik Krogh Kristensen
|
89786d9ce2
|
rename pr to ref in memberFromRef
|
2022-02-03 23:10:37 +01:00 |
|