Class: PEdump::Unpacker::UPX

Inherits:
Object
  • Object
show all
Defined in:
lib/pedump/unpacker/upx.rb

Class Method Summary collapse

Class Method Details

.unpack(src_fname, dst_fname, log = '') ⇒ Object



9
10
11
12
# File 'lib/pedump/unpacker/upx.rb', line 9

def self.unpack src_fname, dst_fname, log = ''
  log << `upx -dqq #{src_fname} -o #{dst_fname} 2>&1`
  $?.success?
end