MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / DumpModule

Function DumpModule

src/Logger.c:1034–1044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1032}
1033
1034static BOOL WINAPI DumpModule(const char* name, ULONG_PTR base, ULONG size, void* userCtx) {
1035 cc_string str; char strBuffer[256];
1036 cc_uintptr beg, end;
1037
1038 beg = base; end = base + (size - 1);
1039 String_InitArray(str, strBuffer);
1040
1041 String_Format3(&str, "%c = %x-%x\r\n", name, &beg, &end);
1042 Logger_Log(&str);
1043 return true;
1044}
1045
1046static void DumpMisc(void) {
1047 static const cc_string modules = String_FromConst("-- modules --\r\n");

Callers

nothing calls this directly

Calls 2

String_Format3Function · 0.85
Logger_LogFunction · 0.85

Tested by

no test coverage detected