diff options
| -rw-r--r-- | view/elf/elfview.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/elf/elfview.cpp b/view/elf/elfview.cpp index 1e7705a3..29914ca7 100644 --- a/view/elf/elfview.cpp +++ b/view/elf/elfview.cpp @@ -583,6 +583,7 @@ bool ElfView::Init() vector<Elf64SectionHeader> relocSections, relocASections; Elf64SectionHeader symbolTableSection; + BeginBulkAddSegments(); uint64_t segmentStart = 0; for (size_t i = 1; i < m_elfSections.size(); i++) { @@ -700,6 +701,8 @@ bool ElfView::Init() GetParentView()->AddAutoSection(sectionNames[i], m_elfSections[i].offset, m_elfSections[i].size, DefaultSectionSemantics, type, m_elfSections[i].align, m_elfSections[i].entrySize, linkedSection, infoSection, m_elfSections[i].info); } } + + EndBulkAddSegments(); // Apply architecture and platform if (!m_arch) { |
