Sha256: de64cdaaf2cd60f5865b574cfa040ec3539ae8ed6ddecc18a85a6786513989e4

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

require 'spec_helper'
require 'ronin/exploits/seh_overflow'

describe Ronin::Exploits::SEHOverflow do
  it "must inherit from Ronin::Exploits::MemoryCorruption" do
    expect(described_class).to be < Ronin::Exploits::MemoryCorruption
  end

  it "must include Ronin::Exploits::Mixins::SEH" do
    expect(described_class).to include(Ronin::Exploits::Mixins::SEH)
  end

  describe ".exploit_type" do
    subject { described_class }

    it { expect(subject.exploit_type).to eq(:seh_overflow) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ronin-exploits-1.0.0.beta2 spec/seh_overflow_spec.rb
ronin-exploits-1.0.0.beta1 spec/seh_overflow_spec.rb