kernel: Show symbols correctly when at the beginning of a function
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-10-25 20:02:15 +02:00
parent 4d5feb0f3b
commit 69771cbd85
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -88,7 +88,7 @@ namespace Symbols
for (isize i = (isize)g_symbols.size() - 1; i >= 0; i--)
{
if (g_symbols[i].address < address) { return StringView { g_symbols[i].symbol }; }
if (g_symbols[i].address <= address) { return StringView { g_symbols[i].symbol }; }
}
return StringView {};