| 244 | } |
| 245 | |
| 246 | DWORD CThread::GetStartAddress() |
| 247 | { |
| 248 | auto dwThreadStartAddress = 0UL; |
| 249 | auto ntStatus = g_winapiApiTable->NtQueryInformationThread(m_hThread, ThreadQuerySetWin32StartAddress, &dwThreadStartAddress, sizeof(dwThreadStartAddress), NULL); |
| 250 | if (!NT_SUCCESS(ntStatus)) |
| 251 | { |
| 252 | DEBUG_LOG(LL_ERR, xorstr("NtQueryInformationThread fail! Thread: %p Status: %p").crypt_get(), m_hThread, ntStatus); |
| 253 | } |
| 254 | return dwThreadStartAddress; |
| 255 | } |
| 256 | |
| 257 | int CThread::GetPriority() |
| 258 | { |
no outgoing calls
no test coverage detected