rex-arch 0.1.7 → 0.1.8

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
  SHA1:
3
- metadata.gz: f28e80c002fa26eeb248f66c4ee8e95d99b91d21
4
- data.tar.gz: 5ac98dbdb539dc7dd558dffb9cbb60cf7210d86a
3
+ metadata.gz: b6bd19051b11209be4f0c0db5db905ccfedc8b10
4
+ data.tar.gz: 59b1de37709d3dd1d02ad8a1b2ea0ca22f392f52
5
5
  SHA512:
6
- metadata.gz: 06d1a88a96338dbcba8ed10a10e7ea02f08c477372959610517d6cc9fe04952b0453884ea5b9db65d84e2bf020b55bd89b5016edc5a5bd5781ef15eb7ddaf1c3
7
- data.tar.gz: 21a4b1d514f4a271221588791a31a0651c922d4b88d1462f7bad4cb1667c9a3551fedc50af4433d65fc2d9084d2b1d427d3d5f18fa9411d3f66dabba3ddbbc55
6
+ metadata.gz: 8fb06378add349cb89e2404a297dd10ff1fc60fdec6bb1f47a7bd429c6ead9acedd86715aab487fbbc122633ae6cfd8f15babbb8d471d60598390cb5824416db
7
+ data.tar.gz: 6e15efca9442ec59778d0aa5e1185c5cf300385dc96906b8e03b2c3d7c65ef4c34105fe449b51d560d691d52e922f63adddbd9bebd0d23923c07ca9b9c11d893
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -33,12 +33,14 @@ module Arch
33
33
  ARCH_MIPSLE = 'mipsle',
34
34
  ARCH_MIPSBE = 'mipsbe',
35
35
  ARCH_MIPS64 = 'mips64',
36
+ ARCH_MIPS64LE = 'mips64le',
36
37
  ARCH_PPC = 'ppc',
37
38
  ARCH_PPC64 = 'ppc64',
38
39
  ARCH_PPC64LE = 'ppc64le',
39
40
  ARCH_CBEA = 'cbea',
40
41
  ARCH_CBEA64 = 'cbea64',
41
42
  ARCH_SPARC = 'sparc',
43
+ ARCH_SPARC64 = 'sparc64',
42
44
  ARCH_ARMLE = 'armle',
43
45
  ARCH_ARMBE = 'armbe',
44
46
  ARCH_AARCH64 = 'aarch64',
@@ -102,12 +104,16 @@ module Arch
102
104
  [addr].pack('V')
103
105
  when ARCH_MIPS64
104
106
  [addr].pack('Q>')
107
+ when ARCH_MIPS64LE
108
+ [addr].pack('Q<')
105
109
  when ARCH_PPC # ambiguous
106
110
  [addr].pack('N')
107
111
  when ARCH_PPC64LE
108
112
  [addr].pack('Q<')
109
113
  when ARCH_SPARC
110
114
  [addr].pack('N')
115
+ when ARCH_SPARC64
116
+ [addr].pack('Q>')
111
117
  when ARCH_ARMLE
112
118
  [addr].pack('V')
113
119
  when ARCH_ARMBE
@@ -143,12 +149,16 @@ module Arch
143
149
  return ENDIAN_BIG
144
150
  when ARCH_MIPS64
145
151
  return ENDIAN_BIG
152
+ when ARCH_MIPS64LE
153
+ return ENDIAN_LITTLE
146
154
  when ARCH_PPC # ambiguous
147
155
  return ENDIAN_BIG
148
156
  when ARCH_PPC64LE
149
157
  return ENDIAN_LITTLE
150
158
  when ARCH_SPARC
151
159
  return ENDIAN_BIG
160
+ when ARCH_SPARC64
161
+ return ENDIAN_BIG
152
162
  when ARCH_ARMLE
153
163
  return ENDIAN_LITTLE
154
164
  when ARCH_ARMBE
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Arch
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rex-arch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - dmohanty-r7
@@ -88,7 +88,7 @@ cert_chain:
88
88
  G+Hmcg1v810agasPdoydE0RTVZgEOOMoQ07qu7JFXVWZ9ZQpHT7qJATWL/b2csFG
89
89
  8mVuTXnyJOKRJA==
90
90
  -----END CERTIFICATE-----
91
- date: 2017-05-11 00:00:00.000000000 Z
91
+ date: 2017-05-30 00:00:00.000000000 Z
92
92
  dependencies:
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: bundler
metadata.gz.sig CHANGED
Binary file