16 if (this->modulesMap.find(start_addr) !=
this->modulesMap.end()) {
20 modulesMap[start_addr] =
lModule;
34 if (!this->appendModule(
mod)) {
39 if (
mod->moduleName ==
"") {
40 mod->moduleName = peconv::get_file_name(
report->moduleFile);
46 if (!
mod->isSuspicious()) {
58 std::map<ULONGLONG, ScannedModule*>::const_iterator
firstGreater = modulesMap.upper_bound(
address);
60 std::map<ULONGLONG, ScannedModule*>::const_iterator
itr;
75 std::map<ULONGLONG, ScannedModule*>::iterator
itr = modulesMap.begin();
76 for (;
itr != modulesMap.end(); ++
itr ) {
80 this->modulesMap.clear();
85 std::map<ULONGLONG, ScannedModule*>::const_iterator
start_itr = modulesMap.begin();
86 std::map<ULONGLONG, ScannedModule*>::const_iterator
stop_itr = modulesMap.upper_bound(
address);
87 std::map<ULONGLONG, ScannedModule*>::const_iterator
itr =
start_itr;
105 std::map<ULONGLONG, ScannedModule*>::const_iterator
itr = modulesMap.find(
address);
106 if (
itr != modulesMap.end()) {
A base class of all the reports detailing on the output of the performed module's scan.
ScannedModule * findModuleContaining(ULONGLONG address, size_t size=0) const
size_t getScannedSize(ULONGLONG start_address) const
bool appendToModulesList(ModuleScanReport *report)
bool appendModule(ScannedModule *module)
ScannedModule * getModuleAt(ULONGLONG address) const
Represents a basic info about the scanned module, such as its base offset, size, and the status.
size_t fill_iat(BYTE *vBuf, size_t vBufSize, IN const peconv::ExportsMapper *exportsMap, IN OUT IATBlock &iat, IN ThunkFoundCallback *callback)
Final summary about the scanned process.