Waternoose, the XBOX 360 emulator
A very young XBOX 360 emulator that aims to boot games some day
Loading...
Searching...
No Matches
Public Member Functions | List of all members
XexLoader Class Reference
Inheritance diagram for XexLoader:
Inheritance graph
[legend]
Collaboration diagram for XexLoader:
Collaboration graph
[legend]

Public Member Functions

 XexLoader (uint8_t *buffer, size_t len, std::string path)
 Loads a .xex file from a buffer into memory.
 
uint32_t GetEntryPoint () const
 
uint32_t GetStackSize () const
 
const std::vector< xexLibrary_t > & GetLibraries () const
 Get the list of libraries imported by the .xex file.
 
size_t GetLibraryIndexByName (const char *name) const
 
const std::string & GetPath () const
 Returns the path of .xex file, minus the file name.
 
uint32_t LookupOrdinal (uint32_t ordinal)
 
virtual uint32_t GetHandle () const
 

Detailed Description

Definition at line 110 of file xex.h.

Constructor & Destructor Documentation

◆ XexLoader()

XexLoader::XexLoader ( uint8_t * buffer,
size_t len,
std::string path )

Loads a .xex file from a buffer into memory.

Parameters
bufferThe contents of the .xex file, loaded into memory
lenThe size, in bytes, of the file buffer

Definition at line 47 of file xex.cpp.

Member Function Documentation

◆ GetEntryPoint()

uint32_t XexLoader::GetEntryPoint ( ) const

Definition at line 228 of file xex.cpp.

◆ GetHandle()

virtual uint32_t XexLoader::GetHandle ( ) const
inlinevirtual

Definition at line 129 of file xex.h.

◆ GetLibraries()

const std::vector< xexLibrary_t > & XexLoader::GetLibraries ( ) const
inline

Get the list of libraries imported by the .xex file.

Definition at line 122 of file xex.h.

◆ GetLibraryIndexByName()

size_t XexLoader::GetLibraryIndexByName ( const char * name) const

Definition at line 238 of file xex.cpp.

◆ GetPath()

const std::string & XexLoader::GetPath ( ) const
inline

Returns the path of .xex file, minus the file name.

Definition at line 126 of file xex.h.

◆ GetStackSize()

uint32_t XexLoader::GetStackSize ( ) const

Definition at line 233 of file xex.cpp.

◆ LookupOrdinal()

uint32_t XexLoader::LookupOrdinal ( uint32_t ordinal)

Definition at line 249 of file xex.cpp.


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