cfg2asm 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fe9c7d9795d226dbb31a45071c764468a29e04d416c060145660acd79c1ccf0
4
- data.tar.gz: dcac08b911bc46c252629bf150079d81c648d02f0c6be93b36612a5b344907d5
3
+ metadata.gz: e43d2e85d381fd99c06fac3b9beebd28bcab828d16553af19126a3d59b0448f5
4
+ data.tar.gz: 799673c2ce1e358be0b7875d88437be121b4cd11ac73eef1efc7048cd4796885
5
5
  SHA512:
6
- metadata.gz: 1b1c86cc939e77ae3ee16fb0ba796dcc2f6a0bae19287f88f2a121cb125bed6a1fcac8e7030a04aa212cfcea2bb6b07b8f45dbfdbbe398af18b877eff5cfdf24
7
- data.tar.gz: 5b3433186dbf48aab5d00b817f4ba3151ee663394dfac98c22cee9ac57e1e8bcfd456abdd381f05693b8a429751c16856eb3b2dde9a4ae8e725cf938e26d9bc3
6
+ metadata.gz: 416802825f9a7c0c36b4944ced00968b6810c8f4fbd0ee947da70030433c1bb1c3e877e5fca8313de803020c1de9a5238697fc758665e611bc51131ff3d0c047
7
+ data.tar.gz: 6f33089d30efaa92e3f1b4245d60d1695a2a5ab396033ab3252e05b4ab6b10a493b239240c240faf4d42a8a1b37b21fdf072666b73ab1772ea1e44c4016520dd
data/bin/cfg2asm CHANGED
@@ -15,6 +15,6 @@ rescue StandardError => e
15
15
  raise e
16
16
  else
17
17
  # Otherwise, just print the message.
18
- warn "seafoam: #{e.message}"
18
+ warn "cfg2asm: #{e.message}"
19
19
  end
20
20
  end
@@ -17,6 +17,8 @@ module Cfg2asm
17
17
  case [nmethod.code.arch, nmethod.code.arch_width]
18
18
  when %w[AMD64 64]
19
19
  crabstone_arch = [Crabstone::ARCH_X86, Crabstone::MODE_64]
20
+ when %w[aarch64 64]
21
+ crabstone_arch = [Crabstone::ARCH_ARM64, Crabstone::MODE_ARM]
20
22
  else
21
23
  raise "Unknown architecture #{nmethod.code.arch} and bit width #{nmethod.code.arch_width}"
22
24
  end
@@ -2,7 +2,7 @@ require 'json'
2
2
  require 'set'
3
3
 
4
4
  module Cfg2asm
5
- # Implementations of the command-line commands that you can run in Seafoam.
5
+ # Implementations of the command-line commands that you can run in cfg2asm.
6
6
  class Commands
7
7
  def initialize(out)
8
8
  @out = out
@@ -1,5 +1,5 @@
1
1
  module Cfg2asm
2
2
  MAJOR_VERSION = 0
3
- MINOR_VERSION = 1
3
+ MINOR_VERSION = 2
4
4
  VERSION = "#{MAJOR_VERSION}.#{MINOR_VERSION}"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfg2asm
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Seaton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-16 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: crabstone
@@ -91,14 +91,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 2.3.7
94
+ version: 2.5.9
95
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - ">="
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.3.3
101
+ rubygems_version: 3.3.7
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: A tool for disassembling Graal CFG files