Skip to content
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

JS/Ruby/Python: Add neutralModel extensible predicate #14631

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

hmac
Copy link
Contributor

@hmac hmac commented Oct 30, 2023

The neutralModel extensible predicate already exists in Java and C#, so
this change brings the dynamic languages more in line with static
languages. The Model Editor uses this predicate to mark endpoints as
"not interesting" from a data flow perspective.

We don't actually make use of this predicate inside the dynamic libraries (indeed, at the moment I think only Java and C# do so), but the model editor should be able to take advantage of it nonetheless.

The first commit allows codeql to see data extensions stored in the .github
directory inside the codeql repo. This is useful when using the CodeQL
Model Editor whilst working inside the codeql repo.

hmac added 2 commits October 30, 2023 11:31
This change allows codeql to see data extensions stored in the .github
directory inside the codeql repo. This is useful when using the CodeQL
Model Editor whilst working inside the codeql repo.
The neutralModel extensible predicate already exists in Java and C#, so
this change brings the dynamic languages more in line with static
languages. The Model Editor uses this predicate to mark endpoints as
"not interesting" from a data flow perspective.
@hmac hmac added the no-change-note-required This PR does not need a change note label Oct 30, 2023
@hmac hmac marked this pull request as ready for review October 30, 2023 12:39
@hmac hmac requested review from a team as code owners October 30, 2023 12:39
Copy link
Contributor

@tausbn tausbn left a comment

Choose a reason for hiding this comment

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

Nice! 👍

Copy link
Contributor

@alexrford alexrford left a comment

Choose a reason for hiding this comment

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

👍

@hmac hmac merged commit dc9f171 into github:main Oct 30, 2023
41 checks passed
@hmac hmac deleted the hmac-dynamic-neutral-model branch October 30, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS no-change-note-required This PR does not need a change note Python Ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants