LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Representation of the VarFileInfo
structure.
More...
#include <ResourceVarFileInfo.hpp>
Public Types | |
using | vars_t = std::vector<ResourceVar> |
using | it_vars = ref_iterator<vars_t&> |
using | it_const_vars = const_ref_iterator<const vars_t&> |
![]() | |
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>>> |
Public Member Functions | |
ResourceVarFileInfo ()=default | |
ResourceVarFileInfo (const ResourceVarFileInfo &)=default | |
ResourceVarFileInfo & | operator= (const ResourceVarFileInfo &)=default |
ResourceVarFileInfo (ResourceVarFileInfo &&)=default | |
ResourceVarFileInfo & | operator= (ResourceVarFileInfo &&)=default |
~ResourceVarFileInfo () override=default | |
uint16_t | type () const |
The type of data in the version resource. | |
const std::u16string & | key () const |
Signature of the structure. Must be the unicode string "VarFileInfo". | |
std::string | key_u8 () const |
Key as an utf8 string. | |
it_vars | vars () |
Iterator over the embedded variables associated to the structure. | |
it_const_vars | vars () const |
ResourceVarFileInfo & | type (uint16_t type) |
ResourceVarFileInfo & | key (std::u16string key) |
void | add_var (ResourceVar var) |
void | accept (Visitor &visitor) const override |
![]() | |
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 () |
Static Public Member Functions | |
static result< ResourceVarFileInfo > | parse (BinaryStream &stream) |
Representation of the VarFileInfo
structure.
This structure represents the organization of data in a file-version resource. It contains version information not dependent on a particular language and code page combination.
See: https://learn.microsoft.com/en-us/windows/win32/menurc/varfileinfo
using LIEF::PE::ResourceVarFileInfo::it_const_vars = const_ref_iterator<const vars_t&> |
using LIEF::PE::ResourceVarFileInfo::vars_t = std::vector<ResourceVar> |
|
default |
|
default |
|
default |
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
|
inline |
|
inline |
Signature of the structure. Must be the unicode string "VarFileInfo".
|
inline |
std::string LIEF::PE::ResourceVarFileInfo::key_u8 | ( | ) | const |
Key as an utf8 string.
|
default |
|
default |
|
static |
|
inline |
The type of data in the version resource.
1
if it contains text data0
if it contains binary data
|
inline |
|
inline |
Iterator over the embedded variables associated to the structure.
|
inline |