|
NAMEdwarf_get_relocation_info_count —
return the number of relocation arrays
LIBRARYDWARF Access Library (libdwarf, -ldwarf)SYNOPSIS#include <libdwarf.h>
int
DESCRIPTIONFunctiondwarf_get_relocation_info_count () retrieves the
total number of relocation arrays generated by a prior call to
dwarf_transform_to_disk_form(3).
Argument dbg should reference a DWARF
producer instance allocated using
dwarf_producer_init(3)
or
dwarf_producer_init_b(3).
The Argument reloc_cnt should point to a location which will be set to the total number of relocation arrays generated. Argument drd_buffer_version should point to
a location which will be set to the version number of the relocation
structures returned (see the symbol
If argument err is not NULL, it will be used to store error information in case of an error. RETURN VALUESOn success, functiondwarf_get_relocation_info_count ()
returns DW_DLV_OK . It returns
DW_DLV_NO_ENTRY if the
DW_DLC_SYMBOLIC_RELOCATIONS flag is not set on the
producer instance. In case of an error, function
dwarf_get_relocation_info_count () returns
DW_DLV_ERROR and sets the argument
err.
ERRORSFunctiondwarf_get_relocation_info_count () can fail
with:
SEE ALSOdwarf(3), dwarf_get_relocation_info(3), dwarf_producer_init(3), dwarf_producer_init_b(3), dwarf_transform_to_disk_form(3)
Visit the GSP FreeBSD Man Page Interface. |