ObjectFile Class

Definition

Line 403 of cmsxo/BinaryFile.cm

Inheritance

Constructors & Destructor

public ObjectFile(const String<char>& fileName_, bool initSymbolTable)
public ObjectFile(const String<char>& fileName_, bool createSections_, bool initSymbolTable)

Member Functions

public override void AddSection(Section* section)
public override void AddSymbolsToAddressMap()
public override nothrow Section* GetCodeSection() const
public override nothrow Section* GetDataSection() const
public override nothrow Section* GetSymbolSection() const
public override void ReplaceLinkSection(UniquePtr<Section>& newLinkSection)

Member Variables

public Section* codeSection
public Section* dataSection
public Section* debugSection
public Section* linkSection
public Section* symbolSection

Constructor& Destructor Details

ObjectFile Constructor

public ObjectFile(const String<char>& fileName_, bool initSymbolTable)

Definition
Line 416 of cmsxo/BinaryFile.cm


ObjectFile Constructor

public ObjectFile(const String<char>& fileName_, bool createSections_, bool initSymbolTable)

Definition
Line 405 of cmsxo/BinaryFile.cm


Member Function Details

AddSection Member Function

public override void AddSection(Section* section)

Definition
Line 419 of cmsxo/BinaryFile.cm


AddSymbolsToAddressMap Member Function

public override void AddSymbolsToAddressMap()

Definition
Line 455 of cmsxo/BinaryFile.cm


GetCodeSection Member Function

public override nothrow Section* GetCodeSection()

Definition
Line 443 of cmsxo/BinaryFile.cm


GetDataSection Member Function

public override nothrow Section* GetDataSection()

Definition
Line 447 of cmsxo/BinaryFile.cm


GetSymbolSection Member Function

public override nothrow Section* GetSymbolSection()

Definition
Line 451 of cmsxo/BinaryFile.cm


public override void ReplaceLinkSection(UniquePtr<Section>& newLinkSection)

Definition
Line 459 of cmsxo/BinaryFile.cm