Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
Calculate the size of a type
     type - type to calculate the size of
            can be specified as a typeinfo object (e.g. the result of get_tinfo())
            or a string with C declaration (e.g. "int")
returns: size of the type or -1 if error

long sizeof(typeinfo type);

Index | Previous topic | Next topic