Class: Dwarves::Parser::V4

Inherits:
Object
  • Object
show all
Defined in:
lib/dwarves/parser/4.rb

Overview

Parser to handle DWARF 4 format outputed by the following

  • readelf --debug-dump=info
  • objdump --dwarf=info

Instance Method Summary collapse

Instance Method Details

#apply(input) ⇒ Object



20
21
22
# File 'lib/dwarves/parser/4.rb', line 20

def apply input
  V4Transformer.new.apply input
end

#parse(input) ⇒ Hash

Returns the parsed DWARF output.

Returns:

  • (Hash)

    the parsed DWARF output



16
17
18
# File 'lib/dwarves/parser/4.rb', line 16

def parse input
  V4Parser.new.parse input
end