Class: ELFTools::Segments::DynamicSegment

Inherits:
Segment
  • Object
show all
Includes:
Dynamic
Defined in:
lib/elftools/segments/dynamic_segment.rb

Overview

Class for dynamic table segment.

This class knows how to get the list of dynamic tags.

Instance Attribute Summary

Attributes inherited from Segment

#header, #stream

Instance Method Summary collapse

Methods included from Dynamic

#each_tags, #tag_at, #tag_by_type, #tags, #tags_by_type

Methods inherited from Segment

create, #data, #executable?, #initialize, #readable?, #type, #writable?

Constructor Details

This class inherits a constructor from ELFTools::Segments::Segment

Instance Method Details

#tag_startInteger

Get the start address of tags.

Returns:

  • (Integer)

    Start address of tags.



15
16
17
# File 'lib/elftools/segments/dynamic_segment.rb', line 15

def tag_start
  header.p_offset
end