mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Update doc for divideByZeroSanitizerGuard
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user