Skip to content
Snippets Groups Projects
Commit d0cb1724 authored by Martin Bickel's avatar Martin Bickel Committed by Serge Lamikhov-Center
Browse files

Expose getter for section.offset

parent a0de1960
No related branches found
No related tags found
Loading
......@@ -45,6 +45,7 @@ class section
ELFIO_GET_SET_ACCESS_DECL( Elf64_Addr, address );
ELFIO_GET_SET_ACCESS_DECL( Elf_Xword, size );
ELFIO_GET_SET_ACCESS_DECL( Elf_Word, name_string_offset );
ELFIO_GET_ACCESS_DECL ( Elf64_Off, offset );
virtual const char* get_data() const = 0;
virtual void set_data( const char* pData, Elf_Word size ) = 0;
......@@ -53,7 +54,7 @@ class section
virtual void append_data( const std::string& data ) = 0;
protected:
ELFIO_GET_SET_ACCESS_DECL( Elf64_Off, offset );
ELFIO_SET_ACCESS_DECL( Elf64_Off, offset );
ELFIO_SET_ACCESS_DECL( Elf_Half, index );
virtual void load( std::istream& f,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment