MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / GetSizeOfImage

Function GetSizeOfImage

Src/CebuLoader/PeUtils.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 }
16
17 DWORD GetSizeOfImage(UINT_PTR baseAddress)
18 {
19 auto ntHeaders = GetNtHeaders(baseAddress);
20 return ntHeaders->OptionalHeader.SizeOfImage;
21 }
22
23 std::pair<void*, void*> GetSectionRange(void* dllBase, std::string const& sectionName)
24 {

Callers 1

FindSymbolFunction · 0.85

Calls 1

GetNtHeadersFunction · 0.85

Tested by

no test coverage detected