Skip to content

Commit 8ae4c21

Browse files
authored
Update doc for divideByZeroSanitizerGuard
1 parent 736372f commit 8ae4c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/src/experimental/CWE-369/DivideByZero.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import DataFlow::PathGraph
1313
import semmle.go.dataflow.internal.TaintTrackingUtil
1414

1515
/**
16-
* A barrier-guard, which represents comparison and equality with zero.
16+
* Holds if `g` is a barrier-guard which checks `e` is nonzero on `branch`.
1717
*/
1818
predicate divideByZeroSanitizerGuard(DataFlow::Node g, Expr e, boolean branch) {
1919
exists(DataFlow::Node zero, DataFlow::Node checked |

0 commit comments

Comments
 (0)