mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
autoformat
This commit is contained in:
@@ -8,7 +8,8 @@ module ArrayTaintTracking {
|
|||||||
/**
|
/**
|
||||||
* A taint propagating data flow edge caused by the builtin array functions.
|
* A taint propagating data flow edge caused by the builtin array functions.
|
||||||
*/
|
*/
|
||||||
private class ArrayFunctionTaintStep extends TaintTracking::AdditionalTaintStep, DataFlow::CallNode {
|
private class ArrayFunctionTaintStep extends TaintTracking::AdditionalTaintStep,
|
||||||
|
DataFlow::CallNode {
|
||||||
ArrayFunctionTaintStep() { arrayFunctionTaintStep(_, _, this) }
|
ArrayFunctionTaintStep() { arrayFunctionTaintStep(_, _, this) }
|
||||||
|
|
||||||
override predicate step(DataFlow::Node pred, DataFlow::Node succ) {
|
override predicate step(DataFlow::Node pred, DataFlow::Node succ) {
|
||||||
|
|||||||
@@ -229,9 +229,7 @@ module TaintTracking {
|
|||||||
* promises.
|
* promises.
|
||||||
*/
|
*/
|
||||||
private class HeapTaintStep extends AdditionalTaintStep {
|
private class HeapTaintStep extends AdditionalTaintStep {
|
||||||
HeapTaintStep() {
|
HeapTaintStep() { heapStep(_, this) }
|
||||||
heapStep(_, this)
|
|
||||||
}
|
|
||||||
|
|
||||||
override predicate step(DataFlow::Node pred, DataFlow::Node succ) {
|
override predicate step(DataFlow::Node pred, DataFlow::Node succ) {
|
||||||
heapStep(pred, succ) and succ = this
|
heapStep(pred, succ) and succ = this
|
||||||
|
|||||||
Reference in New Issue
Block a user