dwarf_find_macro_value_start
—
return the address of the first byte of a macro
value
DWARF Access Library (libdwarf,
-ldwarf)
#include
<libdwarf.h>
char *
dwarf_find_macro_value_start
(char
*macro_string);
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).
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.