CodeQL library for Go
codeql/go-all 2.1.3 (changelog, source)
Search

Member predicate IR::Instruction::getExactValue

Gets the string representation of the exact value of the result of this instruction, if any.

For example, for the constant 3.141592653589793238462, this will result in 1570796326794896619231/500000000000000000000

string getExactValue()