Skip to content

JS: teach the dataflow library identity functions Object.freeze/seal #3805

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 3 commits into from
Jul 2, 2020

Conversation

esbena
Copy link
Contributor

@esbena esbena commented Jun 25, 2020

@esbena esbena added JS Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish labels Jun 25, 2020
@esbena esbena requested a review from a team as a code owner June 25, 2020 13:08
@esbena esbena force-pushed the js/seal-freeze-flow branch from 265c33b to 91c1663 Compare June 25, 2020 13:10
/**
* Gets an identity call for `input` that can be recognized syntactically.
*/
DataFlow::CallNode syntactic(DataFlow::Node input) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The naming is a little weird. From the call site it's not really clear what predicate does.

How about FlowSteps::identityFunctionStep(pred, succ) instead?

@esbena
Copy link
Contributor Author

esbena commented Jul 1, 2020

uneventful evaluation

@esbena esbena removed the Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish label Jul 1, 2020
@esbena esbena force-pushed the js/seal-freeze-flow branch from 91c1663 to 3ca6031 Compare July 1, 2020 13:27
@esbena
Copy link
Contributor Author

esbena commented Jul 2, 2020

The suggested renaming has been done.

@semmle-qlci semmle-qlci merged commit b5c8f22 into github:master Jul 2, 2020
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.

3 participants