C# Class CSPspEmu.Hle.Loader.ElfPspLoader

Afficher le fichier Open project: soywiz/cspspemu

Protected Properties

Свойство Type Description
BaseAddress uint
HleModuleGuest HleModuleGuest

Private Properties

Свойство Type Description
ElfPspLoader System
_UpdateModuleExports void
_UpdateModuleImports void

Méthodes publiques

Méthode Description
LoadModule ( Stream FileStream, Stream MemoryStream, MemoryPartition MemoryPartition, HleModuleManager ModuleManager, String GameTitle, string ModuleName, bool IsMainModule ) : HleModuleGuest

Méthodes protégées

Méthode Description
LoadModuleInfo ( ) : void
RelocateFromHeaders ( ) : void
RelocateRelocs ( IEnumerable Relocs ) : void

This function relocates all the instructions and pointers of the loading executable.

UpdateModuleExports ( ) : void

UpdateModuleImports ( ) : void

Private Methods

Méthode Description
ElfPspLoader ( ) : System
_UpdateModuleExports ( ) : void

The export section is organized as as sequence of: - 32-bit NID * functionCount - 32-bit NID * variableCount - 32-bit export address * functionCount - 32-bit variable address * variableCount (each variable address references another structure, depending on its NID)

_UpdateModuleImports ( ) : void

Method Details

LoadModule() public méthode

public LoadModule ( Stream FileStream, Stream MemoryStream, MemoryPartition MemoryPartition, HleModuleManager ModuleManager, String GameTitle, string ModuleName, bool IsMainModule ) : HleModuleGuest
FileStream Stream
MemoryStream Stream
MemoryPartition MemoryPartition
ModuleManager HleModuleManager
GameTitle String
ModuleName string
IsMainModule bool
Résultat HleModuleGuest

LoadModuleInfo() protected méthode

protected LoadModuleInfo ( ) : void
Résultat void

RelocateFromHeaders() protected méthode

protected RelocateFromHeaders ( ) : void
Résultat void

RelocateRelocs() protected méthode

This function relocates all the instructions and pointers of the loading executable.
protected RelocateRelocs ( IEnumerable Relocs ) : void
Relocs IEnumerable
Résultat void

UpdateModuleExports() protected méthode

protected UpdateModuleExports ( ) : void
Résultat void

UpdateModuleImports() protected méthode

protected UpdateModuleImports ( ) : void
Résultat void

Property Details

BaseAddress protected_oe property

protected uint BaseAddress
Résultat uint

HleModuleGuest protected_oe property

protected HleModuleGuest HleModuleGuest
Résultat HleModuleGuest