qtil
advanced-security/qtil-ruby 0.0.2
Search

Predicate parseOctalInt

Gets the integer value of octal when interpreted as octal. octal must be a valid octal string containing only the digits 0-7. For values greater than 17777777777 (2^31-1, the maximum value that int can represent), there is no result.

"0"        => 0
"77"       => 63
"76543210" => 16434824

Import path

import codeql.NumberUtils
int parseOctalInt(string octal)