Update doc for divideByZeroSanitizerGuard

This commit is contained in:
Chris Smowton
2022-06-21 12:11:19 +01:00
committed by GitHub
parent 736372ffd6
commit 8ae4c21a3e

View File

@@ -13,7 +13,7 @@ import DataFlow::PathGraph
import semmle.go.dataflow.internal.TaintTrackingUtil
/**
* A barrier-guard, which represents comparison and equality with zero.
* Holds if `g` is a barrier-guard which checks `e` is nonzero on `branch`.
*/
predicate divideByZeroSanitizerGuard(DataFlow::Node g, Expr e, boolean branch) {
exists(DataFlow::Node zero, DataFlow::Node checked |