We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf3604 commit 9d69b89Copy full SHA for 9d69b89
1 file changed
src/LibObjectFile.Tests/Elf/ElfSimpleTests.cs
@@ -450,6 +450,14 @@ public void TestManySections()
450
}
451
452
Assert.AreEqual(visibleSectionCount, elf.VisibleSectionCount);
453
+ Assert.True(elf.Sections[0] is ElfNullSection);
454
+ Assert.True(elf.Sections[1] is ElfProgramHeaderTable);
455
+
456
+ for (int i = 0; i < ushort.MaxValue; i++)
457
+ {
458
+ Assert.True(elf.Sections[i + 2] is ElfBinarySection);
459
+ Assert.AreEqual($".section{i}", elf.Sections[i + 2].Name.Value);
460
+ }
461
462
463
0 commit comments