@@ -474,7 +474,7 @@ bool ElfView::Init()
474474 {
475475 if (settings->Contains (" loader.imageBase" ))
476476 preferredImageBase = settings->Get <uint64_t >(" loader.imageBase" , this );
477-
477+
478478 if (settings->Contains (" loader.platform" ))
479479 {
480480 BNSettingsScope scope = SettingsAutoScope;
@@ -665,7 +665,7 @@ bool ElfView::Init()
665665 if (m_elfSections[i].size != 0 )
666666 {
667667 if (m_programHeaders.size () == 0 )
668- {
668+ {
669669 // We have an object file so we'll just create segments for the sections
670670 uint32_t flags = 0 ;
671671 if (semantics == ReadOnlyCodeSectionSemantics)
@@ -675,15 +675,15 @@ bool ElfView::Init()
675675 else if (semantics == ReadOnlyDataSectionSemantics)
676676 flags = SegmentReadable;
677677 if ((m_commonHeader.type == ET_DYN) && (!m_parseOnly))
678- {
678+ {
679679 // We have a shared object file without program headers so we'll create segments for the sections
680680 // based on the section address.
681681 size_t size = m_elfSections[i].type == ELF_SHT_NOBITS ? 0 : m_elfSections[i].size ;
682682 uint64_t adjustedSectionAddr = m_elfSections[i].address + imageBaseAdjustment;
683683 AddAutoSegment (adjustedSectionAddr, m_elfSections[i].size , m_elfSections[i].offset , size, flags);
684- }
685- else
686- {
684+ }
685+ else
686+ {
687687 m_elfSections[i].address = segmentStart;
688688 size_t size = m_elfSections[i].type == ELF_SHT_NOBITS ? 0 : m_elfSections[i].size ;
689689 uint64_t adjustedSectionAddr = m_elfSections[i].address + imageBaseAdjustment;
0 commit comments