class Symbolized
A symbol of the Crashreport
that has been desymbolized with gdb
Attributes
endaddress[R]
filename[R]
line[R]
startaddress[R]
symbol[R]
Public Class Methods
new(s)
click to toggle source
Initialize with an output line from gdb. This will extract the addresses, linenumber and source-file
# File lib/symsym.rb, line 42 def initialize(s) s.gsub(/Line (\d*) of "(.*)" starts at address (0x[0-9a-f]*) <(.*)> and ends at (0x[0-9a-f]*)/).to_a @line = $1 @filename = $2 @startaddress = $3.hex if $3 @symbol = $4 @endaddress = $5.hex if $3 end