MCPcopy Create free account
hub / github.com/NetSPI/BOF-PE / MappedModule

Class MappedModule

loader/mappedmodule.h:16–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14typedef int (*Logger)(const char* fmt, ...);
15
16class MappedModule {
17
18private:
19
20 Pe::PeNative _mappedPe;
21 LPVOID _mappedImage;
22 bool _loaded;
23 Logger _logger;
24
25public:
26 MappedModule(Logger logger, const std::vector<std::byte>& peBytes);
27 ~MappedModule();
28 FARPROC GetProcAddress(const char* name) const;
29 const Pe::PeNative& GetModule() const;
30};

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected