Class: Stix2::Extensions::WindowsPebinary
- Defined in:
- lib/stix2/extensions/windows_pebinary.rb
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ WindowsPebinary
constructor
A new instance of WindowsPebinary.
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 |