summaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/elf/elfview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/view/elf/elfview.cpp b/view/elf/elfview.cpp
index 46039e80..f09517d9 100644
--- a/view/elf/elfview.cpp
+++ b/view/elf/elfview.cpp
@@ -1762,8 +1762,6 @@ bool ElfView::Init()
virtualReader.Seek(gotEntry);
auto target = virtualReader.ReadPointer();
- if (!target)
- continue;
BNRelocationInfo relocInfo;
memset(&relocInfo, 0, sizeof(BNRelocationInfo));
@@ -3160,6 +3158,7 @@ extern "C"
BINARYNINJAPLUGIN bool CorePluginInit()
#endif
{
+
InitElfViewType();
return true;
}