MCPcopy Create free account
hub / github.com/dobin/RedEdr / GetSectionNameFromRaw

Function GetSectionNameFromRaw

RedEdrShared/process_query.cpp:295–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293
294
295std::string GetSectionNameFromRaw(const IMAGE_SECTION_HEADER& section) {
296 return std::string(reinterpret_cast<const char*>(section.Name),
297 strnlen(reinterpret_cast<const char*>(section.Name), 8));
298}
299
300
301std::vector<ModuleSection> EnumerateModuleSections(HANDLE hProcess, LPVOID moduleBase) {

Callers 1

EnumerateModuleSectionsFunction · 0.85

Calls 1

stringFunction · 0.85

Tested by

no test coverage detected