Class: Elf::GNU::SymbolVersionTable
Constant Summary
Constants inherited from Section
Section::Abs, Section::Common, Section::FlagsToChars, Section::OsSpecific, Section::ProcSpecific, Section::Reserved, Section::SunW, Section::SunWIgnore, Section::Undef, Section::XIndex
Instance Attribute Summary
Attributes inherited from Section
#addr, #addralign, #entsize, #file, #index, #info, #offset, #size, #type
Instance Method Summary collapse
Methods inherited from Section
#==, #flags, #flags_i, #flags_s, #initialize, #link, #load, #name, read, #summary
Constructor Details
This class inherits a constructor from Elf::Section
Instance Method Details
#[](idx) ⇒ Object
48 49 50 51 52 |
# File 'lib/elf/gnu.rb', line 48 def [](idx) load unless @versions @versions[idx] end |
#count ⇒ Object
42 43 44 45 46 |
# File 'lib/elf/gnu.rb', line 42 def count load unless @versions @versions.size end |
#load_internal ⇒ Object
35 36 37 38 39 40 |
# File 'lib/elf/gnu.rb', line 35 def load_internal @versions = [] for i in 1..(@numentries) @versions << @file.read_versym end end |