moved elf logging to DebugDump fuction , which can be enabled in config . This reduces main log file a lot

This commit is contained in:
georgemoralis 2024-07-01 23:07:57 +03:00
parent b2508c502b
commit 3b87c3c128
3 changed files with 40 additions and 51 deletions

View file

@ -468,7 +468,6 @@ public:
void Open(const std::filesystem::path& file_name);
bool IsSelfFile() const;
bool IsElfFile() const;
void DebugDump();
[[nodiscard]] self_header GetSElfHeader() const {
return m_self;
@ -503,6 +502,10 @@ public:
void LoadSegment(u64 virtual_addr, u64 file_offset, u64 size);
bool IsSharedLib();
void ElfHeaderDebugDump(const std::filesystem::path& file_name);
void SelfHeaderDebugDump(const std::filesystem::path& file_name);
void SelfSegHeaderDebugDump(const std::filesystem::path& file_name);
void PHeaderDebugDump(const std::filesystem::path& file_name);
private:
Common::FS::IOFile m_f{};