GCDTool/GCDTool/Elf/Sections/ElfSymbol.cs
2024-01-01 16:11:57 +01:00

23 lines
498 B
C#

using GCDTool.IO;
namespace GCDTool.Elf.Sections;
sealed class ElfSymbol
{
public ElfSymbol(EndianBinaryReader er)
{
NameOffset = er.Read<uint>();
Value = er.Read<uint>();
Size = er.Read<uint>();
Info = er.Read<byte>();
Other = er.Read<byte>();
SectionIndex = er.Read<ushort>();
}
public uint NameOffset;
public uint Value;
public uint Size;
public byte Info;
public byte Other;
public ushort SectionIndex;
}