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

Predicate getIntTypeBitSize

Get the size of int or uint in file, or architectureSpecificBitSize if it is architecture-specific.

Import path

import semmle.go.security.IncorrectIntegerConversionLib
int getIntTypeBitSize(File file, int architectureSpecificBitSize)