MCPcopy Create free account
hub / github.com/DarthTon/Xenos / AddToModuleList

Method AddToModuleList

src/Routines.cpp:337–351  ·  view source on GitHub ↗

Add module to module list Loaded image Module exports

Source from the content-addressed store, hash-verified

335/// <param name="path">Loaded image</param>
336/// <param name="exports">Module exports</param>
337void MainDlg::AddToModuleList( std::shared_ptr<blackbone::pe::PEImage>& img )
338{
339 wchar_t* platfom = nullptr;
340
341 // Module platform
342 if (img->mType() == blackbone::mt_mod32)
343 platfom = L"32 bit";
344 else if (img->mType() == blackbone::mt_mod64)
345 platfom = L"64 bit";
346 else
347 platfom = L"Unknown";
348
349 _images.emplace_back( img );
350 _modules.AddItem( blackbone::Utils::StripPath( img->path() ), 0, { platfom } );
351}

Callers

nothing calls this directly

Calls 1

AddItemMethod · 0.80

Tested by

no test coverage detected