Next: The string section, Previous: The variable section, Up: CTF dictionaries [Contents][Index]
The label section is a currently-unused facility allowing the tiling of the type space with names taken from the strtab. The seciton is an array of these structures:
typedef struct ctf_lblent { uint32_t ctl_label; uint32_t ctl_type; } ctf_lblent_t;
Offset | Name | Description |
---|---|---|
0x00 | uint32_t ctl_label
| Strtab offset of the label |
0x04 | uint32_t ctl_type
| Type ID of the last type covered by this label |
Semantics will be attached to labels soon, probably in v4 (the plan is to use
them to allow multiple disjoint namespaces in a single CTF file, removing many
uses of CTF archives, in particular in the .ctf
section in ELF objects).