Class: Tracetool::IOS::IOSTraceParser

Inherits:
BaseTraceParser show all
Defined in:
lib/tracetool/ios/parser.rb

Overview

IOS traces scanner and source mapper

Constant Summary collapse

STACK_ENTRY_PATTERN =

Describes IOS stack entry

/^(?<frame>\d+)\t(?<binary>.+)\t(?<call_description>.+)$/.freeze
SOURCE_PATTERN =

Describes source block

/^((-?\[(?<class>[^ ]+) (?<method>.+)\])|(?<method>.+)) \(in (?<module>.+)\) \((?<file>.+):(?<line>\d+)\)$/
.freeze

Instance Attribute Summary

Attributes inherited from BaseTraceParser

#call_pattern, #entry_pattern

Instance Method Summary collapse

Methods inherited from BaseTraceParser

#parse

Constructor Details

#initialize(files) ⇒ IOSTraceParser

Returns a new instance of IOSTraceParser.



14
15
16
# File 'lib/tracetool/ios/parser.rb', line 14

def initialize(files)
  super(STACK_ENTRY_PATTERN, SOURCE_PATTERN, files, true)
end