pedump 0.7.1 → 0.7.3
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/VERSION +1 -1
- data/lib/pedump.rb +1 -1
- data/pedump.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd0f244a4510c9dd2d331be3789b3deae796e4b87c68a50c5ab21e5a757d1341
|
|
4
|
+
data.tar.gz: f90e27cecf5b25275e2f53b92d8dd894bc5d10cc61ead2a2f7e6d174fe45c4ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca89ec6a27c7f7a0d25756bdcacddbd0e0edcf98d33dd7869ee4404d1c40f47610388d6516d120ef3367075185ec13e560f4835022ab20d35f650243cebce167
|
|
7
|
+
data.tar.gz: fcc1b0194cd9d3ea39ad44e0f95f0d50432c697d45c5d6608bfeeb98214fef97d27a5660fa6cacdcd718c0a53fe3c043a8b628207be1834cdffb5e0f0f78459d
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.3
|
data/lib/pedump.rb
CHANGED
|
@@ -453,7 +453,7 @@ class PEdump
|
|
|
453
453
|
|
|
454
454
|
sections.each do |s|
|
|
455
455
|
if (s.PointerToRawData...(s.PointerToRawData+s.SizeOfRawData)).include?(offset)
|
|
456
|
-
return s.VirtualAddress + s.PointerToRawData
|
|
456
|
+
return s.VirtualAddress + offset - s.PointerToRawData
|
|
457
457
|
end
|
|
458
458
|
end
|
|
459
459
|
|
data/pedump.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: pedump 0.7.
|
|
5
|
+
# stub: pedump 0.7.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "pedump".freeze
|
|
9
|
-
s.version = "0.7.
|
|
9
|
+
s.version = "0.7.3".freeze
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|