Kernel symbols don't have parents.

This commit is contained in:
Bartosz Taudul 2021-06-12 16:08:29 +02:00
parent b35dfe71d1
commit be07ccc1d3
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -13037,8 +13037,9 @@ void View::DrawStatistics()
ImGui::TableNextRow();
ImGui::TableNextColumn();
const bool isKernel = v.symAddr >> 63 != 0;
const char* parentName = nullptr;
if( symlen == 0 )
if( symlen == 0 && !isKernel )
{
const auto parentAddr = m_worker.GetSymbolForAddress( v.symAddr );
if( parentAddr != 0 )