haskus-system-0.6.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.Format.Elf.Symbol

Description

ELF symbol tables

Synopsis

Documentation

data SymbolInfo Source #

Symbol information

In the original semantics, symbol's "section" field can be used to encode other information and "info" field is taken for binding/type... We fix this by using Info for "section" and Binding/Type for "info".

Constructors

SymbolInfoUndefined

Undefined section

SymbolInfoAbsolute

Associated symbol is absolute

SymbolInfoCommon

Associated symbol is common

SymbolInfoIndexInExtraTable

Index is in extra table

SymbolInfoSectionBeforeAll

Order section before all others (Solaris)

SymbolInfoSectionAfterAll

Order section after all others (Solaris)

SymbolInfoSectionIndex Word16

Section index

SymbolInfoUnknown Word16

Unknown information

getSymbolEntry :: PreHeader -> Get SymbolEntry Source #

Getter for a symbol entry

putSymbolEntry :: PreHeader -> SymbolEntry -> Put Source #

Putter for a symbol entry