|
NAMEdwarf_hasattr —
check for the presence of an attribute
LIBRARYDWARF Access Library (libdwarf, -ldwarf)SYNOPSIS#include <libdwarf.h>
int
DESCRIPTIONFunctiondwarf_hasattr () tests whether the debugging
information entry referenced in argument die contains
the attribute named by argument attr. Legal values for
argument attr are those denoted by the
DW_AT_* constants in the DWARF specification.
If the named attribute is present in the debugging information
entry, function If argument err is not NULL, it will be used to return an error descriptor in case of an error. RETURN VALUESOn success, functiondwarf_hasattr () returns
DW_DLV_OK . In case of an error, it returns
DW_DLV_ERROR and sets argument
err.
ERRORSFunctiondwarf_hasattr () can fail with the following
error:
SEE ALSOdwarf(3), dwarf_attr(3), dwarf_whatattr(3)
Visit the GSP FreeBSD Man Page Interface. |