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:
parent
1498a3be32
commit
7de79d3bbb
2 changed files with 4 additions and 4 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue