Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Functions | Variables
asm-processor Namespace Reference

Data Structures

class  ElfFile
 
class  ElfHeader
 
class  GlobalAsmBlock
 
class  GlobalState
 
class  Relocation
 
class  Section
 
class  Symbol
 

Functions

def is_temp_name (name)
 
def parse_source (f, print_source, opt, framepointer)
 
def fixup_objfile (objfile_name, functions, asm_prelude, assembler)
 
def main ()
 

Variables

int MAX_FN_SIZE = 100
 
int EI_NIDENT = 16
 
int EI_CLASS = 4
 
int EI_DATA = 5
 
int EI_VERSION = 6
 
int EI_OSABI = 7
 
int EI_ABIVERSION = 8
 
int STN_UNDEF = 0
 
int SHN_UNDEF = 0
 
int SHN_ABS = 0xfff1
 
int SHN_COMMON = 0xfff2
 
int SHN_XINDEX = 0xffff
 
int SHN_LORESERVE = 0xff00
 
int STT_NOTYPE = 0
 
int STT_OBJECT = 1
 
int STT_FUNC = 2
 
int STT_SECTION = 3
 
int STT_FILE = 4
 
int STT_COMMON = 5
 
int STT_TLS = 6
 
int STB_LOCAL = 0
 
int STB_GLOBAL = 1
 
int STB_WEAK = 2
 
int STV_DEFAULT = 0
 
int STV_INTERNAL = 1
 
int STV_HIDDEN = 2
 
int STV_PROTECTED = 3
 
int SHT_NULL = 0
 
int SHT_PROGBITS = 1
 
int SHT_SYMTAB = 2
 
int SHT_STRTAB = 3
 
int SHT_RELA = 4
 
int SHT_HASH = 5
 
int SHT_DYNAMIC = 6
 
int SHT_NOTE = 7
 
int SHT_NOBITS = 8
 
int SHT_REL = 9
 
int SHT_SHLIB = 10
 
int SHT_DYNSYM = 11
 
int SHT_INIT_ARRAY = 14
 
int SHT_FINI_ARRAY = 15
 
int SHT_PREINIT_ARRAY = 16
 
int SHT_GROUP = 17
 
int SHT_SYMTAB_SHNDX = 18
 
int SHT_MIPS_GPTAB = 0x70000003
 
int SHT_MIPS_DEBUG = 0x70000005
 
int SHT_MIPS_REGINFO = 0x70000006
 
int SHT_MIPS_OPTIONS = 0x7000000d
 
int SHF_WRITE = 0x1
 
int SHF_ALLOC = 0x2
 
int SHF_EXECINSTR = 0x4
 
int SHF_MERGE = 0x10
 
int SHF_STRINGS = 0x20
 
int SHF_INFO_LINK = 0x40
 
int SHF_LINK_ORDER = 0x80
 
int SHF_OS_NONCONFORMING = 0x100
 
int SHF_GROUP = 0x200
 
int SHF_TLS = 0x400
 
int R_MIPS_32 = 2
 
int R_MIPS_26 = 4
 
int R_MIPS_HI16 = 5
 
int R_MIPS_LO16 = 6
 

Function Documentation

◆ fixup_objfile()

def asm-processor.fixup_objfile (   objfile_name,
  functions,
  asm_prelude,
  assembler 
)

◆ is_temp_name()

def asm-processor.is_temp_name (   name)

◆ main()

def asm-processor.main ( )

◆ parse_source()

def asm-processor.parse_source (   f,
  print_source,
  opt,
  framepointer 
)

Variable Documentation

◆ EI_ABIVERSION

int asm-processor.EI_ABIVERSION = 8

◆ EI_CLASS

int asm-processor.EI_CLASS = 4

◆ EI_DATA

int asm-processor.EI_DATA = 5

◆ EI_NIDENT

int asm-processor.EI_NIDENT = 16

◆ EI_OSABI

int asm-processor.EI_OSABI = 7

◆ EI_VERSION

int asm-processor.EI_VERSION = 6

◆ MAX_FN_SIZE

int asm-processor.MAX_FN_SIZE = 100

◆ R_MIPS_26

int asm-processor.R_MIPS_26 = 4

◆ R_MIPS_32

int asm-processor.R_MIPS_32 = 2

◆ R_MIPS_HI16

int asm-processor.R_MIPS_HI16 = 5

◆ R_MIPS_LO16

int asm-processor.R_MIPS_LO16 = 6

◆ SHF_ALLOC

int asm-processor.SHF_ALLOC = 0x2

◆ SHF_EXECINSTR

int asm-processor.SHF_EXECINSTR = 0x4

◆ SHF_GROUP

int asm-processor.SHF_GROUP = 0x200

◆ SHF_INFO_LINK

int asm-processor.SHF_INFO_LINK = 0x40

◆ SHF_LINK_ORDER

int asm-processor.SHF_LINK_ORDER = 0x80

◆ SHF_MERGE

int asm-processor.SHF_MERGE = 0x10

◆ SHF_OS_NONCONFORMING

int asm-processor.SHF_OS_NONCONFORMING = 0x100

◆ SHF_STRINGS

int asm-processor.SHF_STRINGS = 0x20

◆ SHF_TLS

int asm-processor.SHF_TLS = 0x400

◆ SHF_WRITE

int asm-processor.SHF_WRITE = 0x1

◆ SHN_ABS

int asm-processor.SHN_ABS = 0xfff1

◆ SHN_COMMON

int asm-processor.SHN_COMMON = 0xfff2

◆ SHN_LORESERVE

int asm-processor.SHN_LORESERVE = 0xff00

◆ SHN_UNDEF

int asm-processor.SHN_UNDEF = 0

◆ SHN_XINDEX

int asm-processor.SHN_XINDEX = 0xffff

◆ SHT_DYNAMIC

int asm-processor.SHT_DYNAMIC = 6

◆ SHT_DYNSYM

int asm-processor.SHT_DYNSYM = 11

◆ SHT_FINI_ARRAY

int asm-processor.SHT_FINI_ARRAY = 15

◆ SHT_GROUP

int asm-processor.SHT_GROUP = 17

◆ SHT_HASH

int asm-processor.SHT_HASH = 5

◆ SHT_INIT_ARRAY

int asm-processor.SHT_INIT_ARRAY = 14

◆ SHT_MIPS_DEBUG

int asm-processor.SHT_MIPS_DEBUG = 0x70000005

◆ SHT_MIPS_GPTAB

int asm-processor.SHT_MIPS_GPTAB = 0x70000003

◆ SHT_MIPS_OPTIONS

int asm-processor.SHT_MIPS_OPTIONS = 0x7000000d

◆ SHT_MIPS_REGINFO

int asm-processor.SHT_MIPS_REGINFO = 0x70000006

◆ SHT_NOBITS

int asm-processor.SHT_NOBITS = 8

◆ SHT_NOTE

int asm-processor.SHT_NOTE = 7

◆ SHT_NULL

int asm-processor.SHT_NULL = 0

◆ SHT_PREINIT_ARRAY

int asm-processor.SHT_PREINIT_ARRAY = 16

◆ SHT_PROGBITS

int asm-processor.SHT_PROGBITS = 1

◆ SHT_REL

int asm-processor.SHT_REL = 9

◆ SHT_RELA

int asm-processor.SHT_RELA = 4

◆ SHT_SHLIB

int asm-processor.SHT_SHLIB = 10

◆ SHT_STRTAB

int asm-processor.SHT_STRTAB = 3

◆ SHT_SYMTAB

int asm-processor.SHT_SYMTAB = 2

◆ SHT_SYMTAB_SHNDX

int asm-processor.SHT_SYMTAB_SHNDX = 18

◆ STB_GLOBAL

int asm-processor.STB_GLOBAL = 1

◆ STB_LOCAL

int asm-processor.STB_LOCAL = 0

◆ STB_WEAK

int asm-processor.STB_WEAK = 2

◆ STN_UNDEF

int asm-processor.STN_UNDEF = 0

◆ STT_COMMON

int asm-processor.STT_COMMON = 5

◆ STT_FILE

int asm-processor.STT_FILE = 4

◆ STT_FUNC

int asm-processor.STT_FUNC = 2

◆ STT_NOTYPE

int asm-processor.STT_NOTYPE = 0

◆ STT_OBJECT

int asm-processor.STT_OBJECT = 1

◆ STT_SECTION

int asm-processor.STT_SECTION = 3

◆ STT_TLS

int asm-processor.STT_TLS = 6

◆ STV_DEFAULT

int asm-processor.STV_DEFAULT = 0

◆ STV_HIDDEN

int asm-processor.STV_HIDDEN = 2

◆ STV_INTERNAL

int asm-processor.STV_INTERNAL = 1

◆ STV_PROTECTED

int asm-processor.STV_PROTECTED = 3