#include <export_table.h>
◆ exportsIterator
◆ addExport()
void retdec::fileformat::ExportTable::addExport |
( |
Export & |
newExport | ) |
|
Add export
- Parameters
-
newExport | Export which will be added |
◆ begin()
Get begin iterator
- Returns
- Begin iterator
◆ clear()
void retdec::fileformat::ExportTable::clear |
( |
| ) |
|
Delete all records from table
◆ computeHashes()
void retdec::fileformat::ExportTable::computeHashes |
( |
| ) |
|
Compute export hashes - CRC32, MD5, SHA256.
◆ dump()
void retdec::fileformat::ExportTable::dump |
( |
std::string & |
dumpTable | ) |
const |
Dump information about all exports in table
- Parameters
-
dumpTable | Into this parameter is stored dump of export table in an LLVM style |
◆ empty()
bool retdec::fileformat::ExportTable::empty |
( |
| ) |
const |
Check if export table is empty
- Returns
true
if no exports are stored in table, false
otherwise
◆ end()
Get end iterator
- Returns
- End iterator
◆ getExphashCrc32()
const std::string & retdec::fileformat::ExportTable::getExphashCrc32 |
( |
| ) |
const |
Get exphash as CRC32
- Returns
- Exphash as CRC32
◆ getExphashMd5()
const std::string & retdec::fileformat::ExportTable::getExphashMd5 |
( |
| ) |
const |
Get exphash as MD5
- Returns
- Exphash as MD5
◆ getExphashSha256()
const std::string & retdec::fileformat::ExportTable::getExphashSha256 |
( |
| ) |
const |
Get exphash as SHA256
- Returns
- Exphash as SHA256
◆ getExport() [1/2]
const Export * retdec::fileformat::ExportTable::getExport |
( |
const std::string & |
name | ) |
const |
Get export by name
- Parameters
-
name | Name of the export to get |
- Returns
- Pointer to export with the specified name or
nullptr
if such export not found
◆ getExport() [2/2]
const Export * retdec::fileformat::ExportTable::getExport |
( |
std::size_t |
exportIndex | ) |
const |
Get selected export
- Parameters
-
exportIndex | Index of selected export (indexed from 0) |
- Returns
- Pointer to selected export or
nullptr
if export index is invalid
◆ getExportOnAddress()
const Export * retdec::fileformat::ExportTable::getExportOnAddress |
( |
unsigned long long |
address | ) |
const |
Get export by address
- Parameters
-
address | Address of the export to get |
- Returns
- Pointer to export with specified address or
nullptr
if such export not found
◆ getNumberOfExports()
std::size_t retdec::fileformat::ExportTable::getNumberOfExports |
( |
| ) |
const |
Get number of stored exports
- Returns
- Number of stored exports
◆ hasExport() [1/2]
bool retdec::fileformat::ExportTable::hasExport |
( |
const std::string & |
name | ) |
const |
Check if export with name name exists
- Parameters
-
- Returns
true
if has export with name name, false
otherwise
◆ hasExport() [2/2]
bool retdec::fileformat::ExportTable::hasExport |
( |
unsigned long long |
address | ) |
const |
Check if export on address exists
- Parameters
-
- Returns
true
if has export on address, false
otherwise
◆ hasExports()
bool retdec::fileformat::ExportTable::hasExports |
( |
| ) |
const |
Find out if there are any exports
- Returns
true
if there are some exports, false
otherwise
◆ expHashCrc32
std::string retdec::fileformat::ExportTable::expHashCrc32 |
|
private |
◆ expHashMd5
std::string retdec::fileformat::ExportTable::expHashMd5 |
|
private |
◆ expHashSha256
std::string retdec::fileformat::ExportTable::expHashSha256 |
|
private |
◆ exports
std::vector<Export> retdec::fileformat::ExportTable::exports |
|
private |
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/include/retdec/fileformat/types/export_table/export_table.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileformat/types/export_table/export_table.cpp