C++: New autoformat.

This commit is contained in:
Geoffrey White
2020-02-04 15:36:17 +00:00
parent 95c77ca3c6
commit 2fddb09a30

View File

@@ -211,7 +211,8 @@ private predicate instructionTaintStep(Instruction i1, Instruction i2) {
)
or
// Flow from argument to return value
i2 = any(CallInstruction call |
i2 =
any(CallInstruction call |
exists(int indexIn |
modelTaintToReturnValue(call.getStaticCallTarget(), indexIn) and
i1 = getACallArgumentOrIndirection(call, indexIn) and
@@ -224,7 +225,8 @@ private predicate instructionTaintStep(Instruction i1, Instruction i2) {
// together in a single virtual variable.
// TODO: Will this work on the test for `TaintedPath.ql`, where the output arg
// is a pointer addition expression?
i2 = any(WriteSideEffectInstruction outNode |
i2 =
any(WriteSideEffectInstruction outNode |
exists(CallInstruction call, int indexIn, int indexOut |
modelTaintToParameter(call.getStaticCallTarget(), indexIn, indexOut) and
i1 = getACallArgumentOrIndirection(call, indexIn) and