Sha256: 44a616b719d00c02be3222430277a8e0aaba60e8b11d37c056a16a9b08ad8827
Contents?: true
Size: 480 Bytes
Versions: 17
Compression:
Stored size: 480 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require File.expand_path(File.dirname(__FILE__) + '/../lib/pedump') describe 'corkami/virtsectblXP.exe' do it "should have 2 imports" do sample.imports.size.should == 2 sample.imports.map(&:module_name).should == %w'kernel32.dll msvcrt.dll' sample.imports.map do |iid| (iid.original_first_thunk + iid.first_thunk).uniq.map(&:name) end.flatten.should == ["ExitProcess", "printf"] end end
Version data entries
17 entries across 17 versions & 1 rubygems