CodeQL library for C/C++

Member predicate Instruction::getResultSize

Gets the size of the result produced by this instruction, in bytes. If the result does not have a known constant size, this predicate does not hold.

If this.isGLValue() holds for this instruction, the value of getResultSize() will always be the size of a pointer.

int getResultSize()