diff options
| author | Copilot <198982749+Copilot@users.noreply.github.com> | 2025-12-16 14:46:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-16 14:46:31 +0800 |
| commit | 908a18947d34b06da936a464a69f71e9e0a4eec3 (patch) | |
| tree | c386f64f79327c09929209f4fa808d26666b9e3b /view/elf/elfview.h | |
| parent | 9bb8792f6be698ed9f2bd6e1dc555bfd91709044 (diff) | |
Support automatic and manual endianness override for x86 ELF files (#7347)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Diffstat (limited to 'view/elf/elfview.h')
| -rw-r--r-- | view/elf/elfview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/elf/elfview.h b/view/elf/elfview.h index a43716b7..b9690bef 100644 --- a/view/elf/elfview.h +++ b/view/elf/elfview.h @@ -540,6 +540,7 @@ namespace BinaryNinja bool DerefPpc64Descriptor(BinaryReader& reader, uint64_t addr, uint64_t& result); void ParseMiniDebugInfo(); + uint64_t ParseHeaders(BinaryView* data, ElfIdent& ident, ElfCommonHeader& commonHeader, Elf64Header& header, Ref<Architecture>* arch, Ref<Platform>* plat, std::string& errorMsg, BNEndianness& endianness); public: ElfView(BinaryView* data, bool parseOnly = false); ~ElfView(); @@ -555,7 +556,6 @@ namespace BinaryNinja virtual Ref<BinaryView> Create(BinaryView* data) override; virtual Ref<BinaryView> Parse(BinaryView* data) override; virtual bool IsTypeValidForData(BinaryView* data) override; - virtual uint64_t ParseHeaders(BinaryView* data, ElfIdent& ident, ElfCommonHeader& commonHeader, Elf64Header& header, Ref<Architecture>* arch, Ref<Platform>* plat, std::string& errorMsg, BNEndianness& endianness); virtual Ref<Settings> GetLoadSettingsForData(BinaryView* data) override; }; |
