Skip to content

This predicate does not override another predicate #13089

Answered by atorralba
Sim4n6 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Sim4n6! In JavaScript, you can consider the predicate isAdditionalTaintStep an override of the basic isAdditionalFlowStep from DataFlow::Configuration, just with flow labels being fixed as taint. Which means that isAdditionalTaintStep exclusively handles taint steps.

If you want to add steps using other flow labels, you can override isAdditionalFlowStep(DataFlow::Node src, DataFlow::Node trg, DataFlow::FlowLabel inlbl, DataFlow::FlowLabel outlbl) instead.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Sim4n6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants