LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Representation of VS_FIXEDFILEINFO Structure. More...
#include <ResourceFixedFileInfo.hpp>
Public Member Functions | |
ResourceFixedFileInfo () | |
ResourceFixedFileInfo (const details::pe_resource_fixed_file_info &header) | |
ResourceFixedFileInfo (const ResourceFixedFileInfo &) | |
ResourceFixedFileInfo & | operator= (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) | |
Object & | operator= (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>>> |
Representation of VS_FIXEDFILEINFO Structure.
LIEF::PE::ResourceFixedFileInfo::ResourceFixedFileInfo | ( | ) |
LIEF::PE::ResourceFixedFileInfo::ResourceFixedFileInfo | ( | const details::pe_resource_fixed_file_info & | header | ) |
LIEF::PE::ResourceFixedFileInfo::ResourceFixedFileInfo | ( | const ResourceFixedFileInfo & | ) |
|
override |
|
overridevirtual |
Implements LIEF::Object.
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.
void LIEF::PE::ResourceFixedFileInfo::file_date_LS | ( | uint32_t | file_date_LS | ) |
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.
void LIEF::PE::ResourceFixedFileInfo::file_date_MS | ( | uint32_t | file_date_MS | ) |
uint32_t LIEF::PE::ResourceFixedFileInfo::file_flags | ( | ) | const |
Contains a bitmask that specifies the Boolean attributes of the file (PE::FIXED_VERSION_FILE_FLAGS)
void LIEF::PE::ResourceFixedFileInfo::file_flags | ( | uint32_t | file_flags | ) |
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.
void LIEF::PE::ResourceFixedFileInfo::file_flags_mask | ( | uint32_t | file_flags_mask | ) |
FIXED_VERSION_OS LIEF::PE::ResourceFixedFileInfo::file_os | ( | ) | const |
The operating system for which this file was designed (PE::FIXED_VERSION_OS).
void LIEF::PE::ResourceFixedFileInfo::file_os | ( | FIXED_VERSION_OS | file_os | ) |
FIXED_VERSION_FILE_SUB_TYPES LIEF::PE::ResourceFixedFileInfo::file_subtype | ( | ) | const |
The function of the file (PE::FIXED_VERSION_FILE_SUB_TYPES)
void LIEF::PE::ResourceFixedFileInfo::file_subtype | ( | FIXED_VERSION_FILE_SUB_TYPES | file_subtype | ) |
FIXED_VERSION_FILE_TYPES LIEF::PE::ResourceFixedFileInfo::file_type | ( | ) | const |
The general type of file (PE::FIXED_VERSION_FILE_TYPES)
void LIEF::PE::ResourceFixedFileInfo::file_type | ( | FIXED_VERSION_FILE_TYPES | file_type | ) |
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.
void LIEF::PE::ResourceFixedFileInfo::file_version_LS | ( | uint32_t | file_version_LS | ) |
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.
void LIEF::PE::ResourceFixedFileInfo::file_version_MS | ( | uint32_t | file_version_MS | ) |
ResourceFixedFileInfo & LIEF::PE::ResourceFixedFileInfo::operator= | ( | const ResourceFixedFileInfo & | ) |
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.
void LIEF::PE::ResourceFixedFileInfo::product_version_LS | ( | uint32_t | product_version_LS | ) |
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.
void LIEF::PE::ResourceFixedFileInfo::product_version_MS | ( | uint32_t | product_version_MS | ) |
uint32_t LIEF::PE::ResourceFixedFileInfo::signature | ( | ) | const |
Must be set to 0xFEEF04BD
void LIEF::PE::ResourceFixedFileInfo::signature | ( | uint32_t | signature | ) |
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.
void LIEF::PE::ResourceFixedFileInfo::struct_version | ( | uint32_t | struct_version | ) |