LIEF: Library to Instrument Executable Formats Version 0.15.0
|
Representation of the StringFileInfo
structure.
More...
#include <ResourceStringFileInfo.hpp>
Public Member Functions | |
ResourceStringFileInfo (uint16_t type, std::u16string key) | |
ResourceStringFileInfo (const ResourceStringFileInfo &) | |
ResourceStringFileInfo & | operator= (const ResourceStringFileInfo &) |
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 "StringFileInfo". | |
const std::vector< LangCodeItem > & | langcode_items () const |
List of the LangCodeItem items. | |
std::vector< LangCodeItem > & | langcode_items () |
void | type (uint16_t type) |
void | key (const std::u16string &key) |
void | key (const std::string &key) |
void | langcode_items (const std::vector< LangCodeItem > &items) |
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 StringFileInfo
structure.
It contains version information that can be displayed for a particular language and code page.
See: https://docs.microsoft.com/en-us/windows/win32/menurc/stringfileinfo
|
overridevirtual |
Implements LIEF::Object.
const std::vector< LangCodeItem > & LIEF::PE::ResourceStringFileInfo::langcode_items | ( | ) | const |
List of the LangCodeItem items.
Each LangCodeItem::key indicates the appropriate language and code page for displaying the key: value
of LangCodeItem::items
uint16_t LIEF::PE::ResourceStringFileInfo::type | ( | ) | const |
The type of data in the version resource.
1
if it contains text data0
if it contains binary data