LIEF: Library to Instrument Executable Formats Version 0.15.0
|
Representation of the data associated with the RT_VERSION
entry.
More...
#include <ResourceVersion.hpp>
Public Member Functions | |
ResourceVersion (const ResourceVersion &) | |
ResourceVersion & | operator= (const ResourceVersion &) |
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 "VS_VERSION_INFO". | |
bool | has_fixed_file_info () const |
true if the version contains a ResourceFixedFileInfo | |
bool | has_string_file_info () const |
true if the version contains a ResourceStringFileInfo | |
bool | has_var_file_info () const |
true if the version contains a ResourceVarFileInfo | |
const ResourceFixedFileInfo * | fixed_file_info () const |
Object that describes various information about the application's version. This is an optional information and if it is not present, it returns a nullptr. | |
ResourceFixedFileInfo * | fixed_file_info () |
const ResourceStringFileInfo * | string_file_info () const |
Object that describes various information about the application's version. The underlying structure is basically a dictionary (key/value) | |
ResourceStringFileInfo * | string_file_info () |
const ResourceVarFileInfo * | var_file_info () const |
Object that describes information about languages supported by the application This structure is not always present and if not, it returns a nullptr. | |
ResourceVarFileInfo * | var_file_info () |
void | type (uint16_t type) |
void | key (std::u16string key) |
void | key (const std::string &key) |
void | fixed_file_info (const ResourceFixedFileInfo &fixed_file_info) |
void | remove_fixed_file_info () |
void | string_file_info (const ResourceStringFileInfo &string_file_info) |
void | remove_string_file_info () |
void | var_file_info (const ResourceVarFileInfo &var_file_info) |
void | remove_var_file_info () |
void | accept (Visitor &visitor) const override |
Public Member Functions inherited from LIEF::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 |
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
- https://docs.microsoft.com/en-us/windows/win32/menurc/vs-versioninfo
|
overridevirtual |
Implements LIEF::Object.
const ResourceStringFileInfo * LIEF::PE::ResourceVersion::string_file_info | ( | ) | const |
Object that describes various information about the application's version. The underlying structure is basically a dictionary (key/value)
This structure is not always present and if not, it returns a nullptr
uint16_t LIEF::PE::ResourceVersion::type | ( | ) | const |
The type of data in the version resource.
1
if it contains text data0
if it contains binary data