LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Representation of the data associated with the RT_VERSION
entry.
More...
#include <ResourceVersion.hpp>
Classes | |
struct | fixed_file_info_t |
This structure represents the VS_FIXEDFILEINFO structure defined in verrsrc.h . More... | |
Public Member Functions | |
ResourceVersion (const ResourceVersion &)=default | |
ResourceVersion & | operator= (const ResourceVersion &)=default |
ResourceVersion (ResourceVersion &&)=default | |
ResourceVersion & | operator= (ResourceVersion &&)=default |
~ResourceVersion () override=default | |
const fixed_file_info_t & | file_info () const |
Return the fixed file info (VS_FIXEDFILEINFO ) | |
fixed_file_info_t & | file_info () |
ResourceStringFileInfo * | string_file_info () |
Return the StringFileInfo element. | |
const ResourceStringFileInfo * | string_file_info () const |
ResourceVarFileInfo * | var_file_info () |
Return the VarFileInfo element. | |
uint16_t | type () const |
The type of data in the version resource. | |
const std::u16string & | key () const |
The Unicode string L"VS_VERSION_INFO" . | |
std::string | key_u8 () const |
The key as an utf8 string. | |
ResourceVersion & | type (uint16_t value) |
ResourceVersion & | key (std::u16string value) |
const ResourceVarFileInfo * | var_file_info () const |
ResourceVersion & | var_file_info (ResourceVarFileInfo info) |
ResourceVersion & | string_file_info (ResourceStringFileInfo info) |
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< ResourceVersion > | parse (const ResourceData &node) |
static result< ResourceVersion > | parse (const uint8_t *p, size_t sz) |
static result< ResourceVersion > | parse (BinaryStream &stream) |
Additional Inherited Members | |
![]() | |
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 the data associated with the RT_VERSION
entry.
See: VS_VERSIONINFO
at https://learn.microsoft.com/en-us/windows/win32/menurc/vs-versioninfo
|
default |
|
default |
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
|
inline |
|
inline |
Return the fixed file info (VS_FIXEDFILEINFO
)
|
inline |
The Unicode string L"VS_VERSION_INFO"
.
|
inline |
std::string LIEF::PE::ResourceVersion::key_u8 | ( | ) | const |
The key as an utf8 string.
|
default |
|
default |
|
static |
|
static |
|
static |
|
inline |
Return the StringFileInfo
element.
|
inline |
|
inline |
|
inline |
The type of data in the version resource.
1
if it contains text data0
if it contains binary data
|
inline |
|
inline |
Return the VarFileInfo
element.
|
inline |
|
inline |