GIF89a;
d_buf will be set to NULL. Otherwise DATA will be returned. */ extern Elf_Data *dwelf_strtab_finalize (Dwelf_Strtab *st, Elf_Data *data) __nonnull_attribute__ (1, 2); /* Get offset in string table for string associated with entry. Only valid after dwelf_strtab_finalize has been called. */ extern size_t dwelf_strent_off (Dwelf_Strent *se) __nonnull_attribute__ (1); /* Return the string associated with the entry. */ extern const char *dwelf_strent_str (Dwelf_Strent *se) __nonnull_attribute__ (1); /* Free resources allocated for the string table. This invalidates any Dwelf_Strent references returned earlier. */ extern void dwelf_strtab_free (Dwelf_Strtab *st) __nonnull_attribute__ (1); /* Creates a read-only Elf handle from the given file handle. The file may be compressed and/or contain a linux kernel image header, in which case it is eagerly decompressed in full and the Elf handle is created as if created with elf_memory (). On error NULL is returned. The Elf handle should be closed with elf_end (). The file handle will not be closed. Does not return ELF_K_NONE handles. */ extern Elf *dwelf_elf_begin (int fd); #ifdef __cplusplus } #endif #endif /* libdwelf.h */