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 |
Public Member Functions inherited from LIEF::Object | |
Object () | |
Object (const Object &other) | |
Object & | operator= (const Object &other) |
Object (Object &&other) noexcept=default | |
Object & | operator= (Object &&other) noexcept=default |
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 | |
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 the data associated with the RT_VERSION entry.
See: VS_VERSIONINFO at https://learn.microsoft.com/en-us/windows/win32/menurc/vs-versioninfo
|
default |
References ResourceVersion().
Referenced by key(), operator<<, operator=(), operator=(), ResourceVersion(), ResourceVersion(), string_file_info(), string_file_info(), type(), var_file_info(), and var_file_info().
|
default |
References ResourceVersion().
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
References LIEF_API.
|
inline |
|
inline |
Return the fixed file info (VS_FIXEDFILEINFO).
|
inline |
The Unicode string L"VS_VERSION_INFO".
|
inline |
References ResourceVersion().
std::string LIEF::PE::ResourceVersion::key_u8 | ( | ) | const |
The key as an utf8 string.
|
default |
References ResourceVersion().
|
default |
References ResourceVersion().
|
static |
|
static |
|
static |
|
inline |
Return the StringFileInfo element.
Referenced by string_file_info().
|
inline |
References ResourceVersion(), and string_file_info().
|
inline |
References ResourceVersion().
|
inline |
The type of data in the version resource.
|
inline |
References ResourceVersion().
|
inline |
Return the VarFileInfo element.
Referenced by var_file_info().
|
inline |
References ResourceVersion(), and var_file_info().
|
inline |
References ResourceVersion().