mirror of
https://github.com/hasherezade/bearparser
synced 2026-06-08 14:32:38 +00:00
[REFACT] In ImportBaseDirWrapper: hasThunk turned to public
This commit is contained in:
@@ -33,6 +33,11 @@ public:
|
||||
|
||||
QList<offset_t> getThunksList() { return this->thunksList; }
|
||||
|
||||
bool hasThunk(offset_t thunk) {
|
||||
std::map<offset_t, size_t>::iterator libItr = thunkToLibMap.find(thunk);
|
||||
return (libItr == thunkToLibMap.end());
|
||||
}
|
||||
|
||||
protected:
|
||||
ImportBaseDirWrapper(PEFile *pe, pe:: dir_entry v_entryType)
|
||||
: DataDirEntryWrapper(pe, v_entryType), importsCount(0) { }
|
||||
@@ -42,12 +47,6 @@ protected:
|
||||
void addMapping(ExeNodeWrapper *func);
|
||||
ImportBaseEntryWrapper* thunkToLib(offset_t thunk);
|
||||
ImportBaseFuncWrapper* thunkToFunction(offset_t thunk);
|
||||
|
||||
bool hasThunk(offset_t thunk) {
|
||||
std::map<offset_t, size_t>::iterator libItr = thunkToLibMap.find(thunk);
|
||||
return (libItr == thunkToLibMap.end());
|
||||
}
|
||||
|
||||
//---
|
||||
std::map<offset_t, size_t> thunkToLibMap;
|
||||
QList<offset_t> thunksList;
|
||||
|
||||
Reference in New Issue
Block a user