class Elf::GNU::SymbolVersionTable

Public Instance Methods

[](idx) click to toggle source
# File lib/elf/gnu.rb, line 47
def [](idx)
  load unless @versions

  @versions[idx]
end
count() click to toggle source
# File lib/elf/gnu.rb, line 41
def count
  load unless @versions

  @versions.size
end
load_internal() click to toggle source
# File lib/elf/gnu.rb, line 34
def load_internal
  @versions = []
  for i in 1..(@numentries)
    @versions << @file.read_versym
  end
end