class Elf::Symbol::UnknownNMCode

Exception raised when the NM code for a given symbol is unknown.

Public Class Methods

new(symbol) click to toggle source
Calls superclass method
# File lib/elf/symbol.rb, line 227
def initialize(symbol)
  section = if symbol.section.nil?
              nil
            elsif symbol.section.is_a?(Integer)
              sprintf("%x", symbol.section)
            else
              symbol.section.name
            end

  super("Unknown NM code for symbol #{symbol.name} in section #{section}")
end