dwarf_get_AT_name(3)

dwarf_get_AT_name3

Retrieve the symbolic names of dwarf constants

Usage

#include <libdwarf.h>

int

dwarf_get_ACCESS_name(unsigned val, char **str);

int

dwarf_get_AT_name(unsigned val, char **str);

int

dwarf_get_ATE_name(unsigned val, char **str);

int

dwarf_get_CC_name(unsigned val, char **str);

int

dwarf_get_CFA_name(unsigned val, char **str);

int

dwarf_get_CHILDREN_name(unsigned val, char **str);

int

dwarf_get_DS_name(unsigned val, char **str);

int

dwarf_get_DSC_name(unsigned val, char **str);

int

dwarf_get_EH_name(unsigned val, char **str);

int

dwarf_get_END_name(unsigned val, char **str);

int

dwarf_get_FORM_name(unsigned val, char **str);

int

dwarf_get_ID_name(unsigned val, char **str);

int

dwarf_get_INL_name(unsigned val, char **str);

int

dwarf_get_LANG_name(unsigned val, char **str);

int

dwarf_get_LNE_name(unsigned val, char **str);

int

dwarf_get_LNS_name(unsigned val, char **str);

int

dwarf_get_MACINFO_name(unsigned val, char **str);

int

dwarf_get_OP_name(unsigned val, char **str);

int

dwarf_get_ORD_name(unsigned val, char **str);

int

dwarf_get_TAG_name(unsigned val, char **str);

int

dwarf_get_UT_name(unsigned unit_type, const char **str);

int

dwarf_get_VIRTUALITY_name(unsigned val, char **str);

int

dwarf_get_VIS_name(unsigned val, char **str);

Library

library “libdwarf”

Overview

These functions return the symbolic name of a numeric DWARF constant.

Argument val specifies the numeric value whose symbolic name is desired.

Argument str should point to a location which will hold the returned NUL-terminated string containing the symbolic name of the specified value.

The list of functions and the DWARF constants that they accept are:

dwarf_get_ACCESS_name()

DW_ACCESS_* constants.

dwarf_get_AT_name()

DW_AT_* constants.

dwarf_get_ATE_name()

DW_ATE_* constants.

dwarf_get_CC_name()

DW_CC_* constants.

dwarf_get_CFA_name()

DW_CFA_* constants.

dwarf_get_CHILDREN_name()

DW_CHILDREN_* constants.

dwarf_get_DS_name()

DW_DS_* constants.

dwarf_get_DSC_name()

DW_DSC_* constants.

dwarf_get_EH_name()

DW_EH_PE_* constants.

dwarf_get_END_name()

DW_END_* constants.

dwarf_get_FORM_name()

DW_FORM_* constants.

dwarf_get_ID_name()

DW_ID_* constants.

dwarf_get_INL_name()

DW_INL_* constants.

dwarf_get_LANG_name()

DW_LANG_* constants.

dwarf_get_LNE_name()

DW_LNE_* constants.

dwarf_get_LNS_name()

DW_LNS_* constants.

dwarf_get_MACINFO_name()

DW_MACINFO_* constants.

dwarf_get_OP_name()

DW_OP_* constants.

dwarf_get_ORD_name()

DW_ORD_* constants.

dwarf_get_TAG_name()

DW_TAG_* constants.

dwarf_get_UT_name()

DW_UT_* constants.

dwarf_get_VIRTUALITY_name()

DW_VIRTUALITY_* constants.

dwarf_get_VIS_name()

DW_VIS_* constants.

Return values

These functions return DW_DLV_OK on success. If the DWARF constant denoted by argument val is not recognized, these function return DW_DLV_NO_ENTRY.

Releases

25 releases since FreeBSD 11.0-RELEASE; the text changed 2 times.

  1. 11.0–12.0
  2. 12.1–13.2
  3. 13.3–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.