CodeQL library for C/C++
Search

Predicate guardedAbs

Holds if the value of use is guarded using abs.

Import path

import semmle.code.cpp.security.Overflow
predicate guardedAbs(Operation e, Expr use)