LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::PE::ResourceFixedFileInfo Class Reference

Representation of VS_FIXEDFILEINFO Structure. More...

#include <ResourceFixedFileInfo.hpp>

Inheritance diagram for LIEF::PE::ResourceFixedFileInfo:
Collaboration diagram for LIEF::PE::ResourceFixedFileInfo:

Public Member Functions

 ResourceFixedFileInfo ()
 
 ResourceFixedFileInfo (const details::pe_resource_fixed_file_info &header)
 
 ResourceFixedFileInfo (const ResourceFixedFileInfo &)
 
ResourceFixedFileInfooperator= (const ResourceFixedFileInfo &)
 
 ~ResourceFixedFileInfo () override
 
uint32_t signature () const
 Must be set to 0xFEEF04BD
 
uint32_t struct_version () const
 The binary version number of this structure.
 
uint32_t file_version_MS () const
 The most significant 32 bits of the file's binary version number.
 
uint32_t file_version_LS () const
 The least significant 32 bits of the file's binary version number.
 
uint32_t product_version_MS () const
 The most significant 32 bits of the product with which this file was distributed.
 
uint32_t product_version_LS () const
 The least significant 32 bits of the product with which this file was distributed.
 
uint32_t file_flags_mask () const
 Contains a bitmask that specifies the valid bits in ResourceFixedFileInfo::file_flags.
 
uint32_t file_flags () const
 Contains a bitmask that specifies the Boolean attributes of the file (PE::FIXED_VERSION_FILE_FLAGS)
 
FIXED_VERSION_OS file_os () const
 The operating system for which this file was designed (PE::FIXED_VERSION_OS).
 
FIXED_VERSION_FILE_TYPES file_type () const
 The general type of file (PE::FIXED_VERSION_FILE_TYPES)
 
FIXED_VERSION_FILE_SUB_TYPES file_subtype () const
 The function of the file (PE::FIXED_VERSION_FILE_SUB_TYPES)
 
uint32_t file_date_MS () const
 The most significant 32 bits of the file's 64-bit binary creation date and time stamp.
 
uint32_t file_date_LS () const
 The least significant 32 bits of the file's 64-bit binary creation date and time stamp.
 
void signature (uint32_t signature)
 
void struct_version (uint32_t struct_version)
 
void file_version_MS (uint32_t file_version_MS)
 
void file_version_LS (uint32_t file_version_LS)
 
void product_version_MS (uint32_t product_version_MS)
 
void product_version_LS (uint32_t product_version_LS)
 
void file_flags_mask (uint32_t file_flags_mask)
 
void file_flags (uint32_t file_flags)
 
void file_os (FIXED_VERSION_OS file_os)
 
void file_type (FIXED_VERSION_FILE_TYPES file_type)
 
void file_subtype (FIXED_VERSION_FILE_SUB_TYPES file_subtype)
 
void file_date_MS (uint32_t file_date_MS)
 
void file_date_LS (uint32_t file_date_LS)
 
void accept (Visitor &visitor) const override
 
- Public Member Functions inherited from LIEF::Object
 Object ()
 
 Object (const Object &other)
 
Objectoperator= (const Object &other)
 
template<class T >
output_t< T > as ()
 
template<class T >
output_const_t< T > as () const
 
virtual bool operator== (const Object &other) const
 
virtual bool operator!= (const Object &other) const
 
virtual ~Object ()
 

Additional Inherited Members

- Public Types inherited from LIEF::Object
template<class T >
using output_t = add_pointer_t<decay_t<T>>
 
template<class T >
using output_const_t = add_pointer_t<add_const_t<decay_t<T>>>
 

Detailed Description

Representation of VS_FIXEDFILEINFO Structure.

Constructor & Destructor Documentation

◆ ResourceFixedFileInfo() [1/3]

LIEF::PE::ResourceFixedFileInfo::ResourceFixedFileInfo ( )

◆ ResourceFixedFileInfo() [2/3]

LIEF::PE::ResourceFixedFileInfo::ResourceFixedFileInfo ( const details::pe_resource_fixed_file_info & header)

◆ ResourceFixedFileInfo() [3/3]

LIEF::PE::ResourceFixedFileInfo::ResourceFixedFileInfo ( const ResourceFixedFileInfo & )

◆ ~ResourceFixedFileInfo()

LIEF::PE::ResourceFixedFileInfo::~ResourceFixedFileInfo ( )
override

Member Function Documentation

◆ accept()

void LIEF::PE::ResourceFixedFileInfo::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.

◆ file_date_LS() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::file_date_LS ( ) const

The least significant 32 bits of the file's 64-bit binary creation date and time stamp.

◆ file_date_LS() [2/2]

void LIEF::PE::ResourceFixedFileInfo::file_date_LS ( uint32_t file_date_LS)

◆ file_date_MS() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::file_date_MS ( ) const

The most significant 32 bits of the file's 64-bit binary creation date and time stamp.

◆ file_date_MS() [2/2]

void LIEF::PE::ResourceFixedFileInfo::file_date_MS ( uint32_t file_date_MS)

◆ file_flags() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::file_flags ( ) const

Contains a bitmask that specifies the Boolean attributes of the file (PE::FIXED_VERSION_FILE_FLAGS)

◆ file_flags() [2/2]

void LIEF::PE::ResourceFixedFileInfo::file_flags ( uint32_t file_flags)

◆ file_flags_mask() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::file_flags_mask ( ) const

Contains a bitmask that specifies the valid bits in ResourceFixedFileInfo::file_flags.

A bit is valid only if it was defined when the file was created.

◆ file_flags_mask() [2/2]

void LIEF::PE::ResourceFixedFileInfo::file_flags_mask ( uint32_t file_flags_mask)

◆ file_os() [1/2]

FIXED_VERSION_OS LIEF::PE::ResourceFixedFileInfo::file_os ( ) const

The operating system for which this file was designed (PE::FIXED_VERSION_OS).

◆ file_os() [2/2]

void LIEF::PE::ResourceFixedFileInfo::file_os ( FIXED_VERSION_OS file_os)

◆ file_subtype() [1/2]

FIXED_VERSION_FILE_SUB_TYPES LIEF::PE::ResourceFixedFileInfo::file_subtype ( ) const

The function of the file (PE::FIXED_VERSION_FILE_SUB_TYPES)

◆ file_subtype() [2/2]

void LIEF::PE::ResourceFixedFileInfo::file_subtype ( FIXED_VERSION_FILE_SUB_TYPES file_subtype)

◆ file_type() [1/2]

FIXED_VERSION_FILE_TYPES LIEF::PE::ResourceFixedFileInfo::file_type ( ) const

The general type of file (PE::FIXED_VERSION_FILE_TYPES)

◆ file_type() [2/2]

void LIEF::PE::ResourceFixedFileInfo::file_type ( FIXED_VERSION_FILE_TYPES file_type)

◆ file_version_LS() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::file_version_LS ( ) const

The least significant 32 bits of the file's binary version number.

This member is used with ResourceFixedFileInfo::file_version_MS to form a 64-bits value used for numeric comparisons.

◆ file_version_LS() [2/2]

void LIEF::PE::ResourceFixedFileInfo::file_version_LS ( uint32_t file_version_LS)

◆ file_version_MS() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::file_version_MS ( ) const

The most significant 32 bits of the file's binary version number.

This member is used with ResourceFixedFileInfo::file_version_LS to form a 64-bits value used for numeric comparisons.

◆ file_version_MS() [2/2]

void LIEF::PE::ResourceFixedFileInfo::file_version_MS ( uint32_t file_version_MS)

◆ operator=()

ResourceFixedFileInfo & LIEF::PE::ResourceFixedFileInfo::operator= ( const ResourceFixedFileInfo & )

◆ product_version_LS() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::product_version_LS ( ) const

The least significant 32 bits of the product with which this file was distributed.

This member is used with ResourceFixedFileInfo::product_version_MS to form a 64-bits value used for numeric comparisons.

◆ product_version_LS() [2/2]

void LIEF::PE::ResourceFixedFileInfo::product_version_LS ( uint32_t product_version_LS)

◆ product_version_MS() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::product_version_MS ( ) const

The most significant 32 bits of the product with which this file was distributed.

This member is used with ResourceFixedFileInfo::product_version_LS to form a 64-bits value used for numeric comparisons.

◆ product_version_MS() [2/2]

void LIEF::PE::ResourceFixedFileInfo::product_version_MS ( uint32_t product_version_MS)

◆ signature() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::signature ( ) const

Must be set to 0xFEEF04BD

◆ signature() [2/2]

void LIEF::PE::ResourceFixedFileInfo::signature ( uint32_t signature)

◆ struct_version() [1/2]

uint32_t LIEF::PE::ResourceFixedFileInfo::struct_version ( ) const

The binary version number of this structure.

The high-order word of this member contains the major version number, and the low-order word contains the minor version number.

◆ struct_version() [2/2]

void LIEF::PE::ResourceFixedFileInfo::struct_version ( uint32_t struct_version)

The documentation for this class was generated from the following file: