dwarf_find_macro_value_start(3)

dwarf_find_macro_value_start3

Return the address of the first byte of a macro value

Usage

#include <libdwarf.h>

char *

dwarf_find_macro_value_start(char *macro_string);

Library

library “libdwarf”

Overview

Given a DWARF macro string, function dwarf_find_macro_value_start() returns a pointer to the first byte of the macro value part of the macro string.

Argument macro_string should be a NUL-terminated string conforming to the macro format defined in the DWARF standard; see dwarf(4).

Return values

On success, function dwarf_find_macro_value_start() returns a pointer to the first byte of the macro value. If the macro value part was not found, function dwarf_find_macro_value_start() returns a pointer to the NUL-byte terminating argument macro_string.

Function dwarf_find_macro_value_start() returns NULL if argument macro_string was NULL.

Releases

25 releases since FreeBSD 11.0-RELEASE; the text changed 1 time.

  1. 11.0–12.0
  2. 12.1–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.