LOLA
lola::vx::PPUElfFile Class Reference

Read-access to memory and symbol data of PPU program file in the ELF file format. More...

#include <ppu.h>

Public Types

typedef std::map< std::string, PPUProgram::Symbolsymbols_type
 Map of named symbols. More...
 

Public Member Functions

 PPUElfFile (std::string const &filename) SYMBOL_VISIBLE
 Open file. More...
 
 ~PPUElfFile () SYMBOL_VISIBLE
 Close file. More...
 
haldls::vx::PPUMemoryBlock read_program () SYMBOL_VISIBLE
 Read program memory data, i.e. More...
 
symbols_type read_symbols () SYMBOL_VISIBLE
 Read symbol data. More...
 

Detailed Description

Read-access to memory and symbol data of PPU program file in the ELF file format.

Definition at line 165 of file ppu.h.

Member Typedef Documentation

◆ symbols_type

Map of named symbols.

Definition at line 171 of file ppu.h.

Constructor & Destructor Documentation

◆ PPUElfFile()

lola::vx::PPUElfFile::PPUElfFile ( std::string const &  filename)

Open file.

Parameters
filenameFile to open

◆ ~PPUElfFile()

lola::vx::PPUElfFile::~PPUElfFile ( )

Close file.

Member Function Documentation

◆ read_program()

haldls::vx::PPUMemoryBlock lola::vx::PPUElfFile::read_program ( )

Read program memory data, i.e.

the data associated to all sections necessary for execution placed at their specified location in memory.

Returns
Continuous block of PPU memory data.

◆ read_symbols()

symbols_type lola::vx::PPUElfFile::read_symbols ( )

Read symbol data.

Returns
Map of named symbols.

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