rex-arch 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rex/arch.rb +5 -1
- data/lib/rex/arch/version.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '072817b1ac86fb851779702af1905d59cad6d498'
|
4
|
+
data.tar.gz: 84118918e16c5dc9d7e02f0315fd07fdacdebeb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dcc88069854afc6818cd727fc274da25ab56dc3dae486458b29f8c0b1a2bd9bec18c444b2735fc0fba652d88b30761c191d78a8288cbb1c0c55609ee5f9c52a
|
7
|
+
data.tar.gz: 28e82a746f79f7e8cc0b40fb2753dab9a0dae6955921a78d22a58a94b9d3da521310119fd2d821966cc6a51754bd68f152709580552585f5554d0a8759ef8f6e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rex/arch.rb
CHANGED
@@ -72,7 +72,7 @@ module Arch
|
|
72
72
|
#
|
73
73
|
def self.adjust_stack_pointer(arch, adjustment)
|
74
74
|
|
75
|
-
if
|
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
|
data/lib/rex/arch/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|