| 1032 | } |
| 1033 | |
| 1034 | static 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 | |
| 1046 | static void DumpMisc(void) { |
| 1047 | static const cc_string modules = String_FromConst("-- modules --\r\n"); |
nothing calls this directly
no test coverage detected