-
|
Please, I am unable to use an I am using the following prototype 👍🏾 class Configuration extends TaintTracking::Configuration {
...
override predicate isAdditionalTaintStep(
DataFlow::Node nodeFrom, DataFlow::Node nodeTo, DataFlow::FlowLabel stateFrom,
DataFlow::FlowLabel stateTo
) {
...
}
}What am I doing wrong please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I still have not figure it out , but |
Beta Was this translation helpful? Give feedback.
-
|
Hey @Sim4n6! In JavaScript, you can consider the predicate If you want to add steps using other flow labels, you can override |
Beta Was this translation helpful? Give feedback.
Hey @Sim4n6! In JavaScript, you can consider the predicate
isAdditionalTaintStepan override of the basicisAdditionalFlowStepfromDataFlow::Configuration, just with flow labels being fixed astaint. Which means thatisAdditionalTaintStepexclusively 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.