| 26 | constexpr size_t kMaxEnvironmentBytes = 1024 * 1024; |
| 27 | |
| 28 | std::string NormalizePathForCompare(std::string path) { |
| 29 | for (char& ch : path) ch = static_cast<char>(std::tolower(static_cast<unsigned char>(ch))); |
| 30 | std::replace(path.begin(), path.end(), '/', '\\'); |
| 31 | return path; |
| 32 | } |
| 33 | |
| 34 | template <typename Fn> |
| 35 | Fn GetNtDllProc(const char* name) { |
no outgoing calls
no test coverage detected