#include <rich_header.h>
◆ getKeyStr()
std::string retdec::fileinfo::RichHeader::getKeyStr |
( |
std::ios_base &(*)(std::ios_base &) |
format | ) |
const |
Get key for decryption of header
- Returns
- Key for decryption of header
◆ getNumberOfStoredRecords()
std::size_t retdec::fileinfo::RichHeader::getNumberOfStoredRecords |
( |
| ) |
const |
Get number of records in header
- Returns
- Number of records in header
◆ getOffsetStr()
std::string retdec::fileinfo::RichHeader::getOffsetStr |
( |
std::ios_base &(*)(std::ios_base &) |
format | ) |
const |
Get offset of header in file
- Returns
- Offset of header in file
◆ getRawBytes()
std::vector< std::uint8_t > retdec::fileinfo::RichHeader::getRawBytes |
( |
| ) |
const |
Get raw bytes
- Returns
- Raw bytes of rich header.
◆ getRecordNumberOfUsesStr()
std::string retdec::fileinfo::RichHeader::getRecordNumberOfUsesStr |
( |
std::size_t |
position | ) |
const |
Get number of uses
- Parameters
-
position | Index of selected record from header (indexed from 0) |
- Returns
- Number of uses
◆ getRecordProductBuildStr()
std::string retdec::fileinfo::RichHeader::getRecordProductBuildStr |
( |
std::size_t |
position | ) |
const |
Get build version
- Parameters
-
position | Index of selected record from header (indexed from 0) |
- Returns
- Build version of linker
◆ getRecordProductIdStr()
std::string retdec::fileinfo::RichHeader::getRecordProductIdStr |
( |
std::size_t |
position | ) |
const |
Get major version
- Parameters
-
position | Index of selected record from header (indexed from 0) |
- Returns
- Major version of linker
◆ getRecordProductNameStr()
std::string retdec::fileinfo::RichHeader::getRecordProductNameStr |
( |
std::size_t |
position | ) |
const |
Retrieve the product name
- Parameters
-
position | Index of selected record from header (indexed from 0) |
- Returns
- Product name as std::string
◆ getRecordVisualStudioNameStr()
std::string retdec::fileinfo::RichHeader::getRecordVisualStudioNameStr |
( |
std::size_t |
position | ) |
const |
Retrieve the Visual Studio name
- Parameters
-
position | Index of selected record from header (indexed from 0) |
- Returns
- Visual Studio name as std::string
◆ getSignature()
std::string retdec::fileinfo::RichHeader::getSignature |
( |
| ) |
const |
Get decrypted header as string
- Returns
- Decrypted header as string
◆ hasRecords()
bool retdec::fileinfo::RichHeader::hasRecords |
( |
| ) |
const |
Find out if there are any records
- Returns
true
if there are some records, false
otherwise
◆ setHeader()
Set rich header data
- Parameters
-
richHeader | Instance of class with original information about rich header |
◆ header
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileinfo/file_information/file_information_types/rich_header.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileinfo/file_information/file_information_types/rich_header.cpp