summaryrefslogtreecommitdiff
path: root/view/pe/peview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/pe/peview.cpp')
-rw-r--r--view/pe/peview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/pe/peview.cpp b/view/pe/peview.cpp
index 89740413..bdf8175d 100644
--- a/view/pe/peview.cpp
+++ b/view/pe/peview.cpp
@@ -1920,6 +1920,8 @@ bool PEView::Init()
m_logger->LogInfo("Found TLS entrypoint %s: 0x%" PRIx64, name, address);
Ref<Platform> assPlatform = platform->GetAssociatedPlatformByAddress(address);
AddPESymbol(FunctionSymbol, "", name, address - m_imageBase);
+ auto func = AddFunctionForAnalysis(platform, address);
+ AddToEntryFunctions(func);
}
else
m_logger->LogInfo("Found TLS entrypoint %s: 0x%" PRIx64 " however it is not backed by file!",