Predicate parseBinaryInt
Gets the integer value of binary
when interpreted as binary. binary
must
contain only the digits 0 and 1. For values greater than
01111111111111111111111111111111 (2^31-1, the maximum value that int
can
represent), there is no result.
"0" => 0
"01" => 1
"1010101" => 85
Import path
import codeql.util.Numbers
int parseBinaryInt(string binary)