Skip to content

Python ESSA: Fix definition of ESSA non-local variables.#599

Merged
taus-semmle merged 2 commits into
github:rc/1.19from
markshannon:python-fix-essa-nonlocal
Dec 4, 2018
Merged

Python ESSA: Fix definition of ESSA non-local variables.#599
taus-semmle merged 2 commits into
github:rc/1.19from
markshannon:python-fix-essa-nonlocal

Conversation

@markshannon

Copy link
Copy Markdown
Contributor

Previously, any variable used an inner function was given an ESSA definition for each call in that function, even if it was not defined out of scope.
This resulted in gigantic numbers of definitions. For example this function had over 3 million spurious "definitions".

This PR fixes that.

@markshannon

Copy link
Copy Markdown
Contributor Author

This fixes a regression introduced in this release cycle, so no change note required.

@taus-semmle taus-semmle merged commit 8493518 into github:rc/1.19 Dec 4, 2018
cklin pushed a commit that referenced this pull request May 23, 2022
…oin-order

Improve join order in InsufficientKeySize.ql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants