Class: Stix2::Extensions::WindowsPeOptionalHeaderType
- Defined in:
- lib/stix2/extensions/windows_pe_optional_header_type.rb
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ WindowsPeOptionalHeaderType
constructor
A new instance of WindowsPeOptionalHeaderType.
Constructor Details
#initialize(args = {}) ⇒ WindowsPeOptionalHeaderType
Returns a new instance of WindowsPeOptionalHeaderType.
36 37 38 39 40 41 42 43 44 45 |
# File 'lib/stix2/extensions/windows_pe_optional_header_type.rb', line 36 def initialize(args = {}) super validate_hashes! if @strict validate_magic_hex! if @strict validate_win32_version_value_hex! if @strict validate_checksum_hex! if @strict validate_subsystem_hex! if @strict validate_dll_characteristics_hex! if @strict validate_loader_flags_hex! if @strict end |