LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LIEF::PE::ResourceFixedFileInfo Class Reference

Representation of VS_FIXEDFILEINFO Structure. More...

#include <ResourceFixedFileInfo.hpp>

Inheritance diagram for LIEF::PE::ResourceFixedFileInfo:
Inheritance graph
[legend]
Collaboration diagram for LIEF::PE::ResourceFixedFileInfo:
Collaboration graph
[legend]

Public Member Functions

 ResourceFixedFileInfo (const details::pe_resource_fixed_file_info &header)
 
 ResourceFixedFileInfo (const ResourceFixedFileInfo &)
 
ResourceFixedFileInfooperator= (const ResourceFixedFileInfo &)
 
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 (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
 

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.

Member Function Documentation

◆ accept()

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

Implements LIEF::Object.

◆ file_flags_mask()

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_version_LS()

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_MS()

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.

◆ product_version_LS()

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_MS()

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.

◆ struct_version()

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.


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