Enumerations

enum ElfClass
Name Value
k32Bit 1
k64Bit 2

Defined at line 14 of file ../../src/lib/unwinder/elf_utils.h

Functions

  • template <typename Ehdr>
    bool VerifyElfIdentification (const Ehdr & ehdr, ElfClass expected_class)

    Defined at line 20 of file ../../src/lib/unwinder/elf_utils.h

  • template <typename Ehdr, typename Shdr>
    Error GetSectionByName (Memory * elf, uint64_t elf_ptr, std::string_view target_section, const Ehdr & ehdr, Shdr & out)

    Searches for |target_section| in the section headers for the given ELF module. |elf_ptr| should

    point to the beginning of the ELF header when this function is called.

    Defined at line 29 of file ../../src/lib/unwinder/elf_utils.h

  • template <typename Ehdrtypename Phdr>
    Error GetSegmentByType (Memory * elfuint64_t elf_ptruint32_t p_typeconst Ehdr & ehdrPhdr & out)

    Defined at line 61 of file ../../src/lib/unwinder/elf_utils.h