MCPcopy Create free account
hub / github.com/QBDI/QBDI / getModuleNames

Function getModuleNames

src/Utility/Memory.cpp:40–48  ·  view source on GitHub ↗

C++ method

Source from the content-addressed store, hash-verified

38
39// C++ method
40std::vector<std::string> getModuleNames() {
41 std::set<std::string> modules;
42
43 for (const MemoryMap &m : getCurrentProcessMaps(false))
44 if (!m.name.empty())
45 modules.insert(m.name);
46
47 return {std::begin(modules), std::end(modules)};
48}
49
50void *alignedAlloc(size_t size, size_t align) {
51 void *allocated = nullptr;

Callers 1

qbdi_getModuleNamesFunction · 0.85

Calls 1

getCurrentProcessMapsFunction · 0.70

Tested by

no test coverage detected