rex-arch 0.1.12 → 0.1.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c271cc412da200ad9dbdf7a65f2b17cbcb6581c
4
- data.tar.gz: 9a435b6b86d38dc7c30619d52b4f16e07e92fdd2
3
+ metadata.gz: '072817b1ac86fb851779702af1905d59cad6d498'
4
+ data.tar.gz: 84118918e16c5dc9d7e02f0315fd07fdacdebeb1
5
5
  SHA512:
6
- metadata.gz: 2340d0f1d4282fbd55729e9d9bbd4fdf0b8d52f004ef235378b859fd4bc44bc78b34b7689ae973345005d7fce67f90f0e0bd4c633a14a61d447706cc9f620bff
7
- data.tar.gz: 50e1febd9a368d5d98dda70e965f6b51a0f0ce5e95d4f3f9deb8f8b290cb58927f4e0959941c9ec6ae27dc9a0eba630f2f4d92c408cbfe8b8d1c127cb617efbc
6
+ metadata.gz: 8dcc88069854afc6818cd727fc274da25ab56dc3dae486458b29f8c0b1a2bd9bec18c444b2735fc0fba652d88b30761c191d78a8288cbb1c0c55609ee5f9c52a
7
+ data.tar.gz: 28e82a746f79f7e8cc0b40fb2753dab9a0dae6955921a78d22a58a94b9d3da521310119fd2d821966cc6a51754bd68f152709580552585f5554d0a8759ef8f6e
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -72,7 +72,7 @@ module Arch
72
72
  #
73
73
  def self.adjust_stack_pointer(arch, adjustment)
74
74
 
75
- if ( arch.is_a?(::Array))
75
+ if arch.is_a?(::Array)
76
76
  arch = arch[0]
77
77
  end
78
78
 
@@ -110,6 +110,8 @@ module Arch
110
110
  [addr].pack('Q<')
111
111
  when ARCH_PPC # ambiguous
112
112
  [addr].pack('N')
113
+ when ARCH_PPCE500V2
114
+ [addr].pack('N')
113
115
  when ARCH_PPC64LE
114
116
  [addr].pack('Q<')
115
117
  when ARCH_SPARC
@@ -155,6 +157,8 @@ module Arch
155
157
  return ENDIAN_LITTLE
156
158
  when ARCH_PPC # ambiguous
157
159
  return ENDIAN_BIG
160
+ when ARCH_PPCE500V2
161
+ return ENDIAN_BIG
158
162
  when ARCH_PPC64LE
159
163
  return ENDIAN_LITTLE
160
164
  when ARCH_SPARC
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Arch
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
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.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - dmohanty-r7
metadata.gz.sig CHANGED
Binary file