Exception: Elf::SymbolTable::UnknownSymbol

Inherits:
Exception
  • Object
show all
Defined in:
lib/elf/symboltable.rb

Overview

Exception thrown when requesting a symbol that is not in the table

Instance Method Summary collapse

Constructor Details

#initialize(name_or_idx, section) ⇒ UnknownSymbol

Returns a new instance of UnknownSymbol.



43
44
45
# File 'lib/elf/symboltable.rb', line 43

def initialize(name_or_idx, section)
  super("Symbol #{name_or_idx} not found in section #{section.name}")
end