Further document MapInfo::elf_offset.
Change-Id: I291d8a61cb400fdf5795a85c4e9a65406124717e
This commit is contained in:
parent
2c392b6d0a
commit
922eecc5a0
1 changed files with 5 additions and 2 deletions
|
|
@ -59,11 +59,14 @@ struct MapInfo {
|
|||
uint16_t flags = 0;
|
||||
std::string name;
|
||||
std::shared_ptr<Elf> elf;
|
||||
// The offset of the beginning of this mapping to the beginning of the
|
||||
// ELF file.
|
||||
// elf_offset == offset - elf_start_offset.
|
||||
// This value is only non-zero if the offset is non-zero but there is
|
||||
// no elf signature found at that offset.
|
||||
uint64_t elf_offset = 0;
|
||||
// This value is the offset from the map in memory that is the start
|
||||
// of the elf. This is not equal to offset when the linker splits
|
||||
// This value is the offset into the file of the map in memory that is the
|
||||
// start of the elf. This is not equal to offset when the linker splits
|
||||
// shared libraries into a read-only and read-execute map.
|
||||
uint64_t elf_start_offset = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue