tracetool 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tracetool/android/native.rb +1 -7
- data/lib/tracetool/utils/cli.rb +5 -5
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3c0c06ce37f4009396b0bb3256d49d67e37225fc065df12015c0598e02d6cc7
|
4
|
+
data.tar.gz: a64ccc18d5efbeb7618b5b7c4e0a8724cf88404786b7612307b18bdf36753e79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ca5c6e9fe0bd39683e8ed5a1cfa6ca7e158377ca3336e9e264ecc29544e7ffe0c991efe605a4f59c293e2342bcadfdfc1098ffc83adc09df99bbb3c7bfb2099
|
7
|
+
data.tar.gz: 562e32d32a00737c75030a7765bc46892aa80094c0feb720ce8d8bc08fb45cf759bbbbae63c80d02f5bc0b285ac60ede17d38f7a9d4de35f80601f3c90e0189a
|
@@ -105,13 +105,7 @@ module Tracetool
|
|
105
105
|
# path to symbols dir
|
106
106
|
# @return [String] desymbolicated stack trace
|
107
107
|
def process(ctx)
|
108
|
-
|
109
|
-
symbols = if ctx.arch
|
110
|
-
File.join(symbols, ctx.arch)
|
111
|
-
else
|
112
|
-
Dir[File.join(symbols, '*')].first || symbols
|
113
|
-
end
|
114
|
-
Pipe['ndk-stack', '-sym', symbols] << @trace
|
108
|
+
Pipe['ndk-stack', '-sym', ctx.symbols] << @trace
|
115
109
|
end
|
116
110
|
|
117
111
|
# Create parser for current trace format
|
data/lib/tracetool/utils/cli.rb
CHANGED
@@ -6,8 +6,8 @@ require_relative '../../version'
|
|
6
6
|
module Tracetool
|
7
7
|
# Tracetool cli args parser
|
8
8
|
class ParseArgs
|
9
|
-
# List of supported abis
|
10
|
-
ARCH_LIST = %i[
|
9
|
+
# List of supported abis. Only needed for iOS unpacking
|
10
|
+
ARCH_LIST = %i[arm arm64].freeze
|
11
11
|
#
|
12
12
|
# Return a structure describing the options.
|
13
13
|
#
|
@@ -30,14 +30,14 @@ module Tracetool
|
|
30
30
|
|
31
31
|
{
|
32
32
|
'address' => options.address,
|
33
|
-
'module' => options.modulename
|
33
|
+
'module' => options.modulename,
|
34
|
+
'arch' => options.arch
|
34
35
|
}.each { |arg, check| raise(OptionParser::MissingArgument, arg) unless check }
|
35
36
|
end
|
36
37
|
|
37
38
|
def self.check(options)
|
38
39
|
{
|
39
|
-
'platform' => options.platform
|
40
|
-
'arch' => options.arch
|
40
|
+
'platform' => options.platform
|
41
41
|
}.each { |arg, check| raise(OptionParser::MissingArgument, arg) unless check }
|
42
42
|
end
|
43
43
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tracetool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ilya.arkhanhelsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: powerpack
|