| 148 | } |
| 149 | |
| 150 | std::string DbgEngAdapter::GenerateRandomPipeName() |
| 151 | { |
| 152 | const std::string chars = "abcdefghijklmnopqrstuvwxyz1234567890"; |
| 153 | constexpr size_t length = 16; |
| 154 | srand(time(NULL)); |
| 155 | |
| 156 | std::string result; |
| 157 | result.resize(length); |
| 158 | for (size_t i = 0; i < length; i++) |
| 159 | result[i] = chars[rand() % chars.length()]; |
| 160 | |
| 161 | return result; |
| 162 | } |
| 163 | |
| 164 | bool DbgEngAdapter::LaunchDbgSrv(const std::string& commandLine) |
| 165 | { |
nothing calls this directly
no outgoing calls
no test coverage detected