NdsForge.NET 1.0.1
Read, validate, edit, compare, and build Nintendo DS and DSi images from .NET
Loading...
Searching...
No Matches
NdsForge.NdsElfImportOptions Class Referencesealed

Bounds ELF ingestion and controls whether ndstool-style Overlay program headers become definitions. More...

Properties

static NdsElfImportOptions Default [get]
 Uses conservative limits suitable for ordinary SDK outputs while still allowing large homebrew programs.
long MaxInputBytes = 256L * 1024 * 1024 [get, set]
 Limits buffered ELF input so non-seekable or hostile streams cannot force unbounded allocation.
int MaxProgramBytes = 64 * 1024 * 1024 [get, set]
 Limits the contiguous cartridge program produced after physical-address gaps are zero-filled.
int MaxProgramHeaders = 4096 [get, set]
 Limits table iteration and allocation independently from the ELF format's 16-bit header count.
int MaxOverlays = 4096 [get, set]
 Limits private Overlay payloads constructed from toolchain-specific flagged program headers.
bool ImportOverlays = true [get, set]
 Controls whether Overlay segments are decoded or merely reported as present in the result.

Detailed Description

Bounds ELF ingestion and controls whether ndstool-style Overlay program headers become definitions.

Definition at line 4 of file NdsElfImportOptions.cs.

Property Documentation

◆ Default

NdsElfImportOptions NdsForge.NdsElfImportOptions.Default
staticget

Uses conservative limits suitable for ordinary SDK outputs while still allowing large homebrew programs.

Definition at line 7 of file NdsElfImportOptions.cs.

◆ ImportOverlays

bool NdsForge.NdsElfImportOptions.ImportOverlays = true
getset

Controls whether Overlay segments are decoded or merely reported as present in the result.

Definition at line 22 of file NdsElfImportOptions.cs.

◆ MaxInputBytes

long NdsForge.NdsElfImportOptions.MaxInputBytes = 256L * 1024 * 1024
getset

Limits buffered ELF input so non-seekable or hostile streams cannot force unbounded allocation.

Definition at line 10 of file NdsElfImportOptions.cs.

◆ MaxOverlays

int NdsForge.NdsElfImportOptions.MaxOverlays = 4096
getset

Limits private Overlay payloads constructed from toolchain-specific flagged program headers.

Definition at line 19 of file NdsElfImportOptions.cs.

◆ MaxProgramBytes

int NdsForge.NdsElfImportOptions.MaxProgramBytes = 64 * 1024 * 1024
getset

Limits the contiguous cartridge program produced after physical-address gaps are zero-filled.

Definition at line 13 of file NdsElfImportOptions.cs.

◆ MaxProgramHeaders

int NdsForge.NdsElfImportOptions.MaxProgramHeaders = 4096
getset

Limits table iteration and allocation independently from the ELF format's 16-bit header count.

Definition at line 16 of file NdsElfImportOptions.cs.


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