Sha256: 0393434c739c4c5f0416351987d060a11b15528079ac741a18cdd6abd54b0845

Contents?: true

Size: 385 Bytes

Versions: 3

Compression:

Stored size: 385 Bytes

Contents

#!/usr/bin/env ruby
require 'mithril'
require 'mithril/inject_symbols'

Elf::rewrite(ARGV[0]){|file|
  Elf::Policy::inject_symbols(file)
 # if(file.symbols.include? "_dl_runtime_resolve")
 #   print "detected ld.so, making _dl_runtime_resolve public"
 #   file.symbols["_dl_runtime_resolve"].is_dynamic = true
 # end
}
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elf-mithril-0.0.5 bin/mithril-section-symbols
elf-mithril-0.0.4 bin/mithril-section-symbols
elf-mithril-0.0.1 bin/mithril-section-symbols