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 1e985b2 commit e1fca63Copy full SHA for e1fca63
src/LibObjectFile/Elf/Sections/ElfDynamicLinkingTable.cs
@@ -39,6 +39,15 @@ public ElfDynamicLinkingTable() : base(ElfSectionType.DynamicLinking)
39
Entries = [];
40
}
41
42
+ protected override void UpdateLayoutCore(ElfVisitorContext context)
43
+ {
44
+ base.UpdateLayoutCore(context);
45
+
46
+ var numberOfEntries = Entries.Count;
47
48
+ base.Size = (ulong)numberOfEntries * base.TableEntrySize;
49
+ }
50
51
public override void Read(ElfReader reader)
52
{
53
reader.Position = Position;
0 commit comments