UNPKG

elflib

Version:
64 lines (63 loc) 2.25 kB
import { uint16, uint32, sint32 } from './primitive.js'; import { Structs } from './structs.js'; export declare class RPLFileInfo extends Structs.RPLFileInfo { constructor(); get version(): uint16; get textSize(): uint32; get textAlign(): uint32; get dataSize(): uint32; get dataAlign(): uint32; get loadSize(): uint32; get loadAlign(): uint32; get tempSize(): uint32; get trampAdjust(): uint32; get sdaBase(): uint32; get sda2Base(): uint32; get stackSize(): uint32; /** The offset from the start of the section to the start of the strings array */ get stringsOffset(): uint32; get flags(): uint32; get heapSize(): uint32; get tagOffset(): uint32; get minVersion(): uint32; get compressionLevel(): sint32; get trampAddition(): uint32; get fileInfoPad(): uint32; get cafeSdkVersion(): uint32; get cafeSdkRevision(): uint32; get tlsModuleIndex(): uint16; get tlsAlignShift(): uint16; get runtimeFileInfoSize(): uint32; /** Array of null-terminated strings until the end of the file */ get strings(): { [addr: number]: string; }; set version(version: uint16); set textSize(textSize: uint32); set textAlign(textAlign: uint32); set dataSize(dataSize: uint32); set dataAlign(dataAlign: uint32); set loadSize(loadSize: uint32); set loadAlign(loadAlign: uint32); set tempSize(tempSize: uint32); set trampAdjust(trampAdjust: uint32); set sdaBase(sdaBase: uint32); set sda2Base(sda2Base: uint32); set stackSize(stackSize: uint32); set stringsOffset(stringsOffset: uint32); set flags(flags: uint32); set heapSize(heapSize: uint32); set tagOffset(tagOffset: uint32); set minVersion(minVersion: uint32); set compressionLevel(compressionLevel: sint32); set trampAddition(trampAddition: uint32); set fileInfoPad(fileInfoPad: uint32); set cafeSdkVersion(cafeSdkVersion: uint32); set cafeSdkRevision(cafeSdkRevision: uint32); set tlsModuleIndex(tlsModuleIndex: uint16); set tlsAlignShift(tlsAlignShift: uint16); set runtimeFileInfoSize(runtimeFileInfoSize: uint32); set strings(strings: { [addr: number]: string; }); }