Class: ELFTools::Segments::NoteSegment
- Includes:
- Note
- Defined in:
- lib/elftools/segments/note_segment.rb
Overview
Class of note segment.
Constant Summary
Constants included from Note
Instance Attribute Summary
Attributes inherited from Segment
Instance Method Summary collapse
-
#note_start ⇒ Integer
Address offset of notes start.
-
#note_total_size ⇒ Integer
The total size of notes in this segment.
Methods included from Note
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
#note_start ⇒ Integer
Address offset of notes start.
15 16 17 |
# File 'lib/elftools/segments/note_segment.rb', line 15 def note_start header.p_offset end |
#note_total_size ⇒ Integer
The total size of notes in this segment.
21 22 23 |
# File 'lib/elftools/segments/note_segment.rb', line 21 def note_total_size header.p_filesz end |