C# Class Mosa.Compiler.Linker.Elf.SymbolEntry

Datei anzeigen Open project: tgiphil/MOSA-Project Class Usage Examples

Public Properties

Property Type Description
EntrySize32 ushort
EntrySize64 ushort
Name uint
SectionHeaderTableIndex int
Size ulong
SymbolBinding SymbolBinding
SymbolType SymbolType
SymbolVisibility SymbolVisibility
Value ulong

Public Methods

Method Description
GetEntrySize ( LinkerFormatType elfType ) : uint
Write ( LinkerFormatType elfType, BinaryWriter writer ) : void

Writes the program header

Protected Methods

Method Description
Write32 ( BinaryWriter writer ) : void

Writes the symbol table entry

Write64 ( BinaryWriter writer ) : void

Writes the symbol table entry

Method Details

GetEntrySize() public static method

public static GetEntrySize ( LinkerFormatType elfType ) : uint
elfType LinkerFormatType
return uint

Write() public method

Writes the program header
public Write ( LinkerFormatType elfType, BinaryWriter writer ) : void
elfType LinkerFormatType Type of the elf.
writer System.IO.BinaryWriter The writer.
return void

Write32() protected method

Writes the symbol table entry
protected Write32 ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter The writer.
return void

Write64() protected method

Writes the symbol table entry
protected Write64 ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter The writer.
return void

Property Details

EntrySize32 public_oe static_oe property

public static ushort EntrySize32
return ushort

EntrySize64 public_oe static_oe property

public static ushort EntrySize64
return ushort

Name public_oe property

This member holds an index into the object file's symbol string table, which holds the character representations of the symbol names.
public uint Name
return uint

SectionHeaderTableIndex public_oe property

Every symbol table entry is "defined'' in relation to some section; this member holds the relevant section header table index.
public int SectionHeaderTableIndex
return int

Size public_oe property

Many symbols have associated sizes. For example, a data object's size is the number of bytes contained in the object. This member holds 0 if the symbol has no size or an unknown size.
public ulong Size
return ulong

SymbolBinding public_oe property

The symbol binding
public SymbolBinding SymbolBinding
return SymbolBinding

SymbolType public_oe property

The symbol type
public SymbolType SymbolType
return SymbolType

SymbolVisibility public_oe property

The symbol visibility
public SymbolVisibility SymbolVisibility
return SymbolVisibility

Value public_oe property

This member gives the value of the associated symbol. Depending on the context, this may be an absolute value, an virtualAddress, and so on; details appear below.
public ulong Value
return ulong