C++ method
| 38 | |
| 39 | // C++ method |
| 40 | std::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 | |
| 50 | void *alignedAlloc(size_t size, size_t align) { |
| 51 | void *allocated = nullptr; |
no test coverage detected