Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2fddb09

Browse files
committed
C++: New autoformat.
1 parent 95c77ca commit 2fddb09

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

cpp/ql/src/semmle/code/cpp/ir/dataflow/DefaultTaintTracking.qll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ private predicate instructionTaintStep(Instruction i1, Instruction i2) {
211211
)
212212
or
213213
// Flow from argument to return value
214-
i2 = any(CallInstruction call |
214+
i2 =
215+
any(CallInstruction call |
215216
exists(int indexIn |
216217
modelTaintToReturnValue(call.getStaticCallTarget(), indexIn) and
217218
i1 = getACallArgumentOrIndirection(call, indexIn) and
@@ -224,7 +225,8 @@ private predicate instructionTaintStep(Instruction i1, Instruction i2) {
224225
// together in a single virtual variable.
225226
// TODO: Will this work on the test for `TaintedPath.ql`, where the output arg
226227
// is a pointer addition expression?
227-
i2 = any(WriteSideEffectInstruction outNode |
228+
i2 =
229+
any(WriteSideEffectInstruction outNode |
228230
exists(CallInstruction call, int indexIn, int indexOut |
229231
modelTaintToParameter(call.getStaticCallTarget(), indexIn, indexOut) and
230232
i1 = getACallArgumentOrIndirection(call, indexIn) and

0 commit comments

Comments
 (0)