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

Version Path
pedump-0.5.0 spec/virtsectblXP_spec.rb
pedump-0.4.16 spec/virtsectblXP_spec.rb
pedump-0.4.15 spec/virtsectblXP_spec.rb
pedump-0.4.14 spec/virtsectblXP_spec.rb
pedump-0.4.13 spec/virtsectblXP_spec.rb
pedump-0.4.12 spec/virtsectblXP_spec.rb
pedump-0.4.11 spec/virtsectblXP_spec.rb
pedump-0.4.10 spec/virtsectblXP_spec.rb
pedump-0.4.9.2 spec/virtsectblXP_spec.rb
pedump-0.4.9.1 spec/virtsectblXP_spec.rb
pedump-0.4.9 spec/virtsectblXP_spec.rb
pedump-0.4.8 spec/virtsectblXP_spec.rb
pedump-0.4.7 spec/virtsectblXP_spec.rb
pedump-0.4.6 spec/virtsectblXP_spec.rb
pedump-0.4.5 spec/virtsectblXP_spec.rb
pedump-0.4.4 spec/virtsectblXP_spec.rb
pedump-0.4.3 spec/virtsectblXP_spec.rb