tracetool 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tracetool/ios/parser.rb +1 -1
- data/lib/tracetool/ios/scanner.rb +1 -6
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99f263206633ce80bd71c6f8afd593272f91cd7b141b5ae0c2508779068eb13d
|
4
|
+
data.tar.gz: 831e703f383253e1da501115c1a339443ce4a2f06db802f7a2aa2d18de6d8ca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a14938e59e1a386382905dec8dd40273c892fa59e1d54afd3bd74a634968bd94dd5af87d3fca7b5429814364e124a13f73f5b0f3bd917d5d5f0a2806194f6017
|
7
|
+
data.tar.gz: a7ae18593b8cf4d1dc918fb7fd5cb07483dfd80c28686925fa4e817e2bbd1076497b732d482f8ce7d42ce28b391d30e65f9dfcf6d8a3f353ce409a8d500dfac0
|
data/lib/tracetool/ios/parser.rb
CHANGED
@@ -5,7 +5,7 @@ module Tracetool
|
|
5
5
|
# IOS traces scanner and source mapper
|
6
6
|
class IOSTraceParser < Tracetool::BaseTraceParser
|
7
7
|
# Describes IOS stack entry
|
8
|
-
STACK_ENTRY_PATTERN = /^(?<frame>\d+)
|
8
|
+
STACK_ENTRY_PATTERN = /^(?<frame>\d+)\t(?<binary>.+)\t(?<call_description>.+)$/.freeze
|
9
9
|
# Describes source block
|
10
10
|
SOURCE_PATTERN =
|
11
11
|
/^((-?\[(?<class>[^ ]+) (?<method>.+)\])|(?<method>.+)) \(in (?<module>.+)\) \((?<file>.+):(?<line>\d+)\)$/
|
@@ -59,12 +59,7 @@ module Tracetool
|
|
59
59
|
def mix(trace, symbolicated)
|
60
60
|
trace.zip(symbolicated).map.with_index do |pair, i|
|
61
61
|
t, desym = pair
|
62
|
-
|
63
|
-
line << i
|
64
|
-
line << t.first
|
65
|
-
line << desym
|
66
|
-
|
67
|
-
line.join(' ')
|
62
|
+
"#{i}\t#{t.first}\t#{desym}"
|
68
63
|
end
|
69
64
|
end
|
70
65
|
end
|
data/lib/version.rb
CHANGED