16#ifndef LIEF_PE_RESOURCE_FIXED_FILE_INFO_H
17#define LIEF_PE_RESOURCE_FIXED_FILE_INFO_H
21#include "LIEF/visibility.h"
23#include "LIEF/Object.hpp"
25#include "LIEF/PE/enums.hpp"
31struct pe_resource_fixed_file_info;
100 void signature(uint32_t signature);
101 void struct_version(uint32_t struct_version);
102 void file_version_MS(uint32_t file_version_MS);
103 void file_version_LS(uint32_t file_version_LS);
104 void product_version_MS(uint32_t product_version_MS);
105 void product_version_LS(uint32_t product_version_LS);
106 void file_flags_mask(uint32_t file_flags_mask);
107 void file_flags(uint32_t file_flags);
108 void file_os(FIXED_VERSION_OS file_os);
109 void file_type(FIXED_VERSION_FILE_TYPES file_type);
110 void file_subtype(FIXED_VERSION_FILE_SUB_TYPES file_subtype);
111 void file_date_MS(uint32_t file_date_MS);
112 void file_date_LS(uint32_t file_date_LS);
114 void accept(
Visitor& visitor)
const override;
121 uint32_t struct_version_;
122 uint32_t file_version_MS_;
123 uint32_t file_version_LS_;
124 uint32_t product_version_MS_;
125 uint32_t product_version_LS_;
126 uint32_t file_flags_mask_;
127 uint32_t file_flags_;
128 FIXED_VERSION_OS file_os_;
129 FIXED_VERSION_FILE_TYPES file_type_;
130 FIXED_VERSION_FILE_SUB_TYPES file_subtype_;
131 uint32_t file_date_MS_;
132 uint32_t file_date_LS_;
Representation of VS_FIXEDFILEINFO Structure.
Definition ResourceFixedFileInfo.hpp:36
uint32_t file_date_MS() const
The most significant 32 bits of the file's 64-bit binary creation date and time stamp.
FIXED_VERSION_FILE_SUB_TYPES file_subtype() const
The function of the file (PE::FIXED_VERSION_FILE_SUB_TYPES)
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 file_date_LS() const
The least significant 32 bits of the file's 64-bit binary creation date and time stamp.
FIXED_VERSION_OS file_os() const
The operating system for which this file was designed (PE::FIXED_VERSION_OS).
uint32_t product_version_LS() const
The least significant 32 bits of the product with which this file was distributed.
uint32_t file_flags() const
Contains a bitmask that specifies the Boolean attributes of the file (PE::FIXED_VERSION_FILE_FLAGS)
uint32_t struct_version() const
The binary version number of this structure.
uint32_t signature() const
Must be set to 0xFEEF04BD
uint32_t product_version_MS() const
The most 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.
FIXED_VERSION_FILE_TYPES file_type() const
The general type of file (PE::FIXED_VERSION_FILE_TYPES)
Definition Visitor.hpp:219
LIEF namespace.
Definition Abstract/Binary.hpp:32