Next: , Previous: , Up: CTF dictionaries   [Contents][Index]


2.9 Limits of CTF

The following limits are imposed by various aspects of CTF version 3:

CTF_MAX_TYPE

Maximum type identifier (maximum number of types accessible with parent and child containers in use): 0xfffffffe

CTF_MAX_PTYPE

Maximum type identifier in a parent dictioanry: maximum number of types in any one dictionary: 0x7fffffff

CTF_MAX_NAME

Maximum offset into a string table: 0x7fffffff

CTF_MAX_VLEN

Maximum number of members in a struct, union, or enum: maximum number of function args: 0xffffff

CTF_MAX_SIZE

Maximum size of a ctf_stype_t in bytes before we fall back to ctf_type_t: 0xfffffffe bytes

Other maxima without associated macros:

These maxima are generally considered to be too low, because C programs can and do exceed them: they will be lifted in format v4.