Class: Dwarves::Parser::V4
- Inherits:
-
Object
- Object
- Dwarves::Parser::V4
- Defined in:
- lib/dwarves/parser/4.rb
Overview
Parser to handle DWARF 4 format outputed by the following
readelf --debug-dump=infoobjdump --dwarf=info
Instance Method Summary collapse
- #apply(input) ⇒ Object
-
#parse(input) ⇒ Hash
The parsed DWARF output.
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.
16 17 18 |
# File 'lib/dwarves/parser/4.rb', line 16 def parse input V4Parser.new.parse input end |