Class: Stix2::Extensions::WindowsPebinary

Inherits:
Base
  • Object
show all
Defined in:
lib/stix2/extensions/windows_pebinary.rb

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ WindowsPebinary

Returns a new instance of WindowsPebinary.



20
21
22
23
24
25
26
# File 'lib/stix2/extensions/windows_pebinary.rb', line 20

def initialize(args = {})
  super
  validate_file_header_hashes! if @strict
  validate_machine_hex! if @strict
  validate_pointer_to_symbol_table_hex! if @strict
  validate_characteristics_hex! if @strict
end