Skip to content

Python points-to: Remove negative recursion when using legacy points-to extensions #1609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

markshannon
Copy link
Contributor

@markshannon markshannon commented Jul 18, 2019

Allows legacy points-to extensions to work with the new points-to implementation.
Replaces ObjectInternal.isMissing() with ObjectInternal.useOriginAsLegacyObject() to avoid negation.

https://github.com/Semmle/ql/pull/1609/files#diff-a1c546926c2c8e21b32497dd0ae4c354R133 and https://github.com/Semmle/ql/pull/1609/files#diff-a1c546926c2c8e21b32497dd0ae4c354R148 are where the negative recursion is removed.

@markshannon markshannon added this to the 1.21.1 milestone Jul 18, 2019
@markshannon markshannon force-pushed the python-better-points-to-extensions branch from 54557ec to c6ae06f Compare July 18, 2019 13:17
Copy link
Contributor

@taus-semmle taus-semmle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from a small comment about one of the docstrings.

@taus-semmle taus-semmle merged commit 7a510f5 into github:rc/1.21 Jul 18, 2019
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