mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
1.2 KiB
1.2 KiB
0.11.6
Major Analysis Improvements
- Added support for global data-flow through captured variables.
Minor Analysis Improvements
- Captured subclass relationships ahead-of-time for most popular PyPI packages so we are able to resolve subclass relationships even without having the packages installed. For example we have captured that
flask_restful.Resourceis a subclass offlask.views.MethodView, so our Flask modeling will still consider a function namedposton aclass Foo(flask_restful.Resource):as a HTTP request handler. - Python now makes use of the shared type tracking library, exposed as
semmle.python.dataflow.new.TypeTracking. The existing type tracking library,semmle.python.dataflow.new.TypeTracker, has consequently been deprecated.
Bug Fixes
- We would previously confuse all captured variables into a single scope entry node. Now they each get their own node so they can be tracked properly.
- The dataflow graph no longer contains SSA variables. Instead, flow is directed via the corresponding controlflow nodes. This should make the graph and the flow simpler to understand. Minor improvements in flow computation has been observed, but in general negligible changes to alerts are expected.