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

Function get_time

RedEdrShared/utils.cpp:62–75  ·  view source on GitHub ↗

FIXME copy from dll

Source from the content-addressed store, hash-verified

60
61// FIXME copy from dll
62uint64_t get_time() {
63 FILETIME fileTime;
64 ULARGE_INTEGER largeInt;
65
66 // Get the current system time as FILETIME
67 GetSystemTimeAsFileTime(&fileTime);
68
69 // Convert FILETIME to ULARGE_INTEGER
70 largeInt.LowPart = fileTime.dwLowDateTime;
71 largeInt.HighPart = fileTime.dwHighDateTime;
72
73 // Return the time as a 64-bit integer
74 return largeInt.QuadPart;
75}
76
77
78std::wstring to_lowercase(const std::wstring& str) {

Callers 15

Catch_NtMapViewOfSectionFunction · 0.85
Catch_LdrLoadDllFunction · 0.85
Catch_NtQueueApcThreadFunction · 0.85
Catch_NtQueueApcThreadExFunction · 0.85
Catch_NtCreateProcessFunction · 0.85
Catch_NtCreateThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected