DWARF_FIND_MACRO_VALUE_START(3)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’– DWARF_FIND_MACRO_VALUE_START(3) β€” return the address of the first byte of a macro value πŸ’–

okay bestie, welcome to the Library Functions Manual. Tiny header tea: the top line spells the title DWARF_FIND_MACRO_VALUE_S(3) (yes, _S, not _START) β€” typo princess behavior β€” but the function you actually call is dwarf_find_macro_value_start(). πŸ’…

🌸 NAME 🌸

dwarf_find_macro_value_start β€” return the address of the first byte of a macro value

πŸŽ€ LIBRARY πŸŽ€

This page is chillin’ in the DWARF Access Library β€” that’s libdwarf, and you link it with -ldwarf. 🫢

✨ SYNOPSIS ✨

#include <libdwarf.h>

char *
dwarf_find_macro_value_start(char *macro_string);

πŸ’… DESCRIPTION πŸ’…

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. That’s the whole quest, bestie. ✨

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. slay. πŸ’–
  • 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. read that twice, bestie. πŸ‘€
  • If argument macro_string was NULL β€” function dwarf_find_macro_value_start() returns NULL. literally NULL. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹


xoxo, Debian πŸ’– March 26, 2011 β€” DWARF_FIND_MACRO_VALUE_START(3) 🌈

πŸ“¦ where this page comes from