Skip to content

JS: Improve handling of heuristic sinks in endpoint filters #7351

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
merged 1 commit into from
Dec 10, 2021

Conversation

henrymercer
Copy link
Contributor

Previously heuristic sinks were always included, to avoid us filtering them out due to not being an argument to an external library call. In this PR, we move the "argument to an external library call" filtering to the query-specific endpoint filters. This lets us filter out heuristic sinks if they match one of the other endpoint filters, reducing FPs.

Previously heuristic sinks were always included, to avoid us filtering
them out due to not being an argument to an external library call.
In this commit we move the argument to an external library call
filtering to the query-specific endpoint filters.
This lets us filter out heuristic sinks if they match one of the other
endpoint filters, reducing FPs.
@henrymercer henrymercer requested a review from Z80coder December 10, 2021 13:50
@henrymercer henrymercer requested a review from a team as a code owner December 10, 2021 13:50
@github-actions github-actions bot added the JS label Dec 10, 2021
Copy link
Contributor

@Z80coder Z80coder left a comment

Choose a reason for hiding this comment

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

I understand the intent of this refactoring, which is to apply per-query endpoint filters to heuristic sinks, and therefore reduce FPs. On the end-to-end metrics the improvement is 1 less FP. In the wild, this may be more. I can't comment on the precise details of the QL refactoring but otherwise LGTM.

@henrymercer henrymercer merged commit a46787e into main Dec 10, 2021
@henrymercer henrymercer deleted the henrymercer/js-atm-heuristic-sinks-improvements branch December 10, 2021 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants