C# 클래스 Mosa.Compiler.Linker.Elf.SectionHeaderEntry

파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Address ulong
AddressAlignment ulong
EntrySize ulong
EntrySize32 ushort
EntrySize64 ushort
Flags SectionAttribute
Info int
Link int
Name uint
Offset ulong
Size ulong
Type SectionType

공개 메소드들

메소드 설명
GetEntrySize ( LinkerFormatType elfType ) : uint
Write ( LinkerFormatType elfType, BinaryWriter writer ) : void

Writes the section header

보호된 메소드들

메소드 설명
Write32 ( BinaryWriter writer ) : void

Writes the section header

Write64 ( BinaryWriter writer ) : void

Writes the section header

메소드 상세

GetEntrySize() 공개 정적인 메소드

public static GetEntrySize ( LinkerFormatType elfType ) : uint
elfType LinkerFormatType
리턴 uint

Write() 공개 메소드

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

Write32() 보호된 메소드

Writes the section header
protected Write32 ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter The writer.
리턴 void

Write64() 보호된 메소드

Writes the section header
protected Write64 ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter The writer.
리턴 void

프로퍼티 상세

Address 공개적으로 프로퍼티

If the section will appear in the memory image of a process, this member gives the virtualAddress at which the section's first byte should reside. Otherwise, the member contains 0.
public ulong Address
리턴 ulong

AddressAlignment 공개적으로 프로퍼티

Some sections have alignment constraints. For example, if a section holds a doubleword, the system must ensure doubleword alignment for the entire section. That is, the value of sh_addr must be congruent to 0, modulo the value of sh_addralign. Currently, only 0 and positive integral powers of two are allowed. Values 0 and 1 mean the section has no alignment constraints.
public ulong AddressAlignment
리턴 ulong

EntrySize 공개적으로 프로퍼티

Some sections hold a table of fixed-size entries, such as a symbol table. For such a section, this member gives the size in bytes of each entry. The member contains 0 if the section does not hold a table of fixed-size entries.
public ulong EntrySize
리턴 ulong

EntrySize32 공개적으로 정적으로 프로퍼티

This member holds a section header's size in bytes. A section header is one entry in the section header table; all entries are the same size.
public static ushort EntrySize32
리턴 ushort

EntrySize64 공개적으로 정적으로 프로퍼티

public static ushort EntrySize64
리턴 ushort

Flags 공개적으로 프로퍼티

Sections support 1-bit flags that describe miscellaneous attributes.
public SectionAttribute Flags
리턴 SectionAttribute

Info 공개적으로 프로퍼티

This member holds extra information, whose interpretation depends on the section type.
public int Info
리턴 int

Link 공개적으로 프로퍼티

This member holds a section header table index link, whose interpretation depends on the section type.
public int Link
리턴 int

Name 공개적으로 프로퍼티

This member specifies the name of the section. Its value is an index into the section header string table section , giving the location of a null-terminated string.
public uint Name
리턴 uint

Offset 공개적으로 프로퍼티

This member's value gives the byte offset from the beginning of the file to the first byte in the section. One section type, NoBits,occupies no space in the file, and its Offset member locates the conceptual placement in the file.
public ulong Offset
리턴 ulong

Size 공개적으로 프로퍼티

public ulong Size
리턴 ulong

Type 공개적으로 프로퍼티

This member categorizes the section's contents and semantics. Section types and their descriptions appear below.
public SectionType Type
리턴 SectionType