1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:57:34 +00:00

ELFImage: Sprinkle some constification love

This commit is contained in:
Robin Burchell 2019-07-18 12:13:57 +02:00 committed by Andreas Kling
parent 1498a3be32
commit 7de79d3bbb
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ class ELFImage {
public:
explicit ELFImage(const u8*);
~ELFImage();
void dump();
void dump() const;
bool is_valid() const { return m_valid; }
bool parse();
@ -132,7 +132,7 @@ private:
const Elf32_Phdr& program_header_internal(unsigned) const;
const char* table_string(unsigned offset) const;
const char* section_header_table_string(unsigned offset) const;
const char* section_index_to_string(unsigned index);
const char* section_index_to_string(unsigned index) const;
const u8* m_buffer { nullptr };
bool m_valid { false };