elfview imgui : added segment headers

This commit is contained in:
georgemoralis 2023-05-08 12:15:28 +03:00
parent cda7c67e36
commit 6511b280cf
3 changed files with 33 additions and 19 deletions

View file

@ -293,10 +293,12 @@ public:
bool isSelfFile() const;
bool isElfFile() const;
void DebugDump();
[[nodiscard]] const self_header* GetSElfHeader() const { return m_self; }
[[nodiscard]] const elf_header* GetElfHeader() const { return m_elf_header; }
[[nodiscard]] const elf_program_header* GetProgramHeader() const { return m_elf_phdr; }
[[nodiscard]] const self_segment_header* GetSegmentHeader() const { return m_self_segments; }
std::string SElfHeaderStr();
std::string SELFSegHeader(u16 no);
private:
void Reset();