We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192bb7f commit f97be14Copy full SHA for f97be14
java/ql/lib/experimental/quantum/BouncyCastle/OperationInstances.qll
@@ -611,7 +611,7 @@ module Modes {
611
612
predicate isIntermediate() { not this.getCallee().getName() = "doFinal" }
613
614
- Expr getInput() { result = this.getArgument(0) }
+ Expr getInput() { result = this.getArgument(0) and this.isIntermediate() }
615
616
Expr getOutput() {
617
this.getCallee().getName() = "processBlock" and
@@ -625,6 +625,9 @@ module Modes {
625
or
626
this.getCallee().getName() = "returnByte" and
627
result = this // The return value.
628
+ or
629
+ this.getCallee().getName() = "doFinal" and
630
+ result = this.getArgument(0) // The `out` byte array argument.
631
}
632
633
0 commit comments