#include <import.h>
◆ UsageType
Enumerator |
---|
UNKNOWN | |
FUNCTION | |
OBJECT | |
FILE | |
◆ ~Import()
virtual retdec::fileformat::Import::~Import |
( |
| ) |
|
|
virtualdefault |
◆ getAddress()
unsigned long long retdec::fileformat::Import::getAddress |
( |
| ) |
const |
Get address of import
- Returns
- Address of import
◆ getLibraryIndex()
unsigned long long retdec::fileformat::Import::getLibraryIndex |
( |
| ) |
const |
Get index of library from which is import
- Returns
- Index of library from which is import
◆ getName()
std::string retdec::fileformat::Import::getName |
( |
| ) |
const |
Get import name
- Returns
- Import name
◆ getOrdinalNumber()
bool retdec::fileformat::Import::getOrdinalNumber |
( |
unsigned long long & |
importOrdinalNumber | ) |
const |
Get ordinal number of import
- Parameters
-
importOrdinalNumber | Into this parameter is stored ordinal number of import |
- Returns
true
if ordinal number id valid, false
otherwise
If method returns false
, importOrdinalNumber is left unchanged
◆ getUsageType()
Get import usage type
- Returns
- Import usage type
◆ hasEmptyName()
bool retdec::fileformat::Import::hasEmptyName |
( |
| ) |
const |
- Returns
true
if import has empty name, false
otherwise
◆ invalidateOrdinalNumber()
void retdec::fileformat::Import::invalidateOrdinalNumber |
( |
| ) |
|
Invalidate ordinal number of import
Instance method getOrdinalNumber() returns false
after invocation of this method. Ordinal number is possible to revalidate by invocation of method setOrdinalNumber().
◆ isFile()
bool retdec::fileformat::Import::isFile |
( |
| ) |
const |
- Returns
true
if import is file, false
otherwise
◆ isFunction()
bool retdec::fileformat::Import::isFunction |
( |
| ) |
const |
- Returns
true
if import is function, false
otherwise
◆ isObject()
bool retdec::fileformat::Import::isObject |
( |
| ) |
const |
- Returns
true
if import is object, false
otherwise
◆ isUnknown()
bool retdec::fileformat::Import::isUnknown |
( |
| ) |
const |
- Returns
true
if import is unkown, false
otherwise
◆ isUsedForImphash()
bool retdec::fileformat::Import::isUsedForImphash |
( |
| ) |
const |
|
virtual |
Virtual method which indicates whether import should be used for calculating imphash.
- Returns
true
if should be used, otherwise false
.
Reimplemented in retdec::fileformat::PeImport.
◆ setAddress()
void retdec::fileformat::Import::setAddress |
( |
unsigned long long |
importAddress | ) |
|
Set address of import
- Parameters
-
importAddress | Address of import |
◆ setLibraryIndex()
void retdec::fileformat::Import::setLibraryIndex |
( |
unsigned long long |
importLibraryIndex | ) |
|
Set library index
- Parameters
-
importLibraryIndex | Index of library from which is import |
◆ setName()
void retdec::fileformat::Import::setName |
( |
std::string |
importName | ) |
|
Set import name
- Parameters
-
◆ setOrdinalNumber()
void retdec::fileformat::Import::setOrdinalNumber |
( |
unsigned long long |
importOrdinalNumber | ) |
|
Set ordinal number of import
- Parameters
-
importOrdinalNumber | Ordinal number of import |
◆ setUsageType()
Set import usage type
- Parameters
-
importUsageType | Symbol usage type |
◆ address
unsigned long long retdec::fileformat::Import::address = 0 |
|
private |
◆ libraryIndex
unsigned long long retdec::fileformat::Import::libraryIndex = 0 |
|
private |
◆ name
std::string retdec::fileformat::Import::name |
|
private |
◆ ordinalNumber
unsigned long long retdec::fileformat::Import::ordinalNumber = 0 |
|
private |
◆ ordinalNumberIsValid
bool retdec::fileformat::Import::ordinalNumberIsValid = false |
|
private |
◆ usageType
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/include/retdec/fileformat/types/import_table/import.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileformat/types/import_table/import.cpp