brew vendor-gems: commit updates.
This commit is contained in:
parent
f00ef561aa
commit
93c10a2c7c
@ -158,6 +158,7 @@ GEM
|
||||
|
||||
PLATFORMS
|
||||
aarch64-linux
|
||||
arm-linux
|
||||
arm64-darwin
|
||||
x86_64-darwin
|
||||
x86_64-linux
|
||||
|
@ -40,7 +40,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/commander-4.6.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.5.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.12.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.7.2")
|
||||
|
@ -290,7 +290,7 @@ module ELFTools
|
||||
# elf = ELFTools::ELFFile.new(File.open('/bin/cat'))
|
||||
# elf.offset_from_vma(0x401337)
|
||||
# #=> 4919 # 0x1337
|
||||
def offset_from_vma(vma, size = 0)
|
||||
def offset_from_vma(vma, size = 1)
|
||||
segments_by_type(:load) do |seg|
|
||||
return seg.vma_to_offset(vma) if seg.vma_in?(vma, size)
|
||||
end
|
@ -2,5 +2,5 @@
|
||||
|
||||
module ELFTools
|
||||
# Current gem version
|
||||
VERSION = '1.3.0'
|
||||
VERSION = '1.3.1'
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user