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


2.6 The label section

The label section is a currently-unused facility allowing the tiling of the type space with names taken from the strtab. The section is an array of these structures:

typedef struct ctf_lblent
{
  uint32_t ctl_label;
  uint32_t ctl_type;
} ctf_lblent_t;
OffsetNameDescription
0x00uint32_t ctl_label Strtab offset of the label
0x04uint32_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).