Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Public Member Functions | Static Public Member Functions | Data Fields
asm-processor.Section Class Reference

Public Member Functions

def __init__ (self, header, data, index)
 
def lookup_str (self, index)
 
def add_str (self, string)
 
def is_rel (self)
 
def header_to_bin (self)
 
def late_init (self, sections)
 
def find_symbol (self, name)
 
def init_symbols (self, sections)
 
def init_relocs (self)
 
def local_symbols (self)
 
def global_symbols (self)
 

Static Public Member Functions

def from_parts (sh_name, sh_type, sh_flags, sh_link, sh_info, sh_addralign, sh_entsize, data, index)
 

Data Fields

 sh_entsize
 
 sh_type
 
 data
 
 index
 
 relocated_by
 
 sh_size
 
 rel_target
 
 strtab
 
 symbol_entries
 
 relocations
 

Detailed Description

typedef struct {
    Elf32_Word   sh_name;
    Elf32_Word   sh_type;
    Elf32_Word   sh_flags;
    Elf32_Addr   sh_addr;
    Elf32_Off    sh_offset;
    Elf32_Word   sh_size;
    Elf32_Word   sh_link;
    Elf32_Word   sh_info;
    Elf32_Word   sh_addralign;
    Elf32_Word   sh_entsize;
} Elf32_Shdr;

Constructor & Destructor Documentation

◆ __init__()

def asm-processor.Section.__init__ (   self,
  header,
  data,
  index 
)

Member Function Documentation

◆ add_str()

def asm-processor.Section.add_str (   self,
  string 
)

◆ find_symbol()

def asm-processor.Section.find_symbol (   self,
  name 
)

◆ from_parts()

def asm-processor.Section.from_parts (   sh_name,
  sh_type,
  sh_flags,
  sh_link,
  sh_info,
  sh_addralign,
  sh_entsize,
  data,
  index 
)
static

◆ global_symbols()

def asm-processor.Section.global_symbols (   self)

◆ header_to_bin()

def asm-processor.Section.header_to_bin (   self)

◆ init_relocs()

def asm-processor.Section.init_relocs (   self)

◆ init_symbols()

def asm-processor.Section.init_symbols (   self,
  sections 
)

◆ is_rel()

def asm-processor.Section.is_rel (   self)

◆ late_init()

def asm-processor.Section.late_init (   self,
  sections 
)

◆ local_symbols()

def asm-processor.Section.local_symbols (   self)

◆ lookup_str()

def asm-processor.Section.lookup_str (   self,
  index 
)

Field Documentation

◆ data

asm-processor.Section.data

◆ index

asm-processor.Section.index

◆ rel_target

asm-processor.Section.rel_target

◆ relocated_by

asm-processor.Section.relocated_by

◆ relocations

asm-processor.Section.relocations

◆ sh_entsize

asm-processor.Section.sh_entsize

◆ sh_size

asm-processor.Section.sh_size

◆ sh_type

asm-processor.Section.sh_type

◆ strtab

asm-processor.Section.strtab

◆ symbol_entries

asm-processor.Section.symbol_entries

The documentation for this class was generated from the following file: