Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::MemoryViewer Class Referencefinal

Memory viewer tool. More...

#include <MemoryViewer.h>

Inheritance diagram for sese::MemoryViewer:
sese::NotInstantiable

Public Types

using OutputStream = sese::io::OutputStream
 

Public Member Functions

 MemoryViewer ()=delete
 
- Public Member Functions inherited from sese::NotInstantiable
 NotInstantiable ()=delete
 
virtual ~NotInstantiable ()=default
 
 NotInstantiable (const NotInstantiable &)=delete
 
NotInstantiableoperator= (const NotInstantiable &)=delete
 

Static Public Member Functions

static void peer (OutputStream *output, void *position, size_t size, bool is_cap=true) noexcept
 Get memory view.
 
static void peer8 (OutputStream *output, void *position, bool is_cap=true) noexcept
 Get 8-bit memory view.
 
static void peer16 (OutputStream *output, void *position, bool is_cap=true) noexcept
 Get 16-bit memory view.
 
static void peer16 (OutputStream *output, void *position, EndianType type, bool is_cap=true) noexcept
 Get 16-bit memory view.
 
static void peer32 (OutputStream *output, void *position, bool is_cap=true) noexcept
 Get 32-bit memory view.
 
static void peer32 (OutputStream *output, void *position, EndianType type, bool is_cap=true) noexcept
 Get 32-bit memory view.
 
static void peer64 (OutputStream *output, void *position, bool is_cap=true) noexcept
 Get 64-bit memory view.
 
static void peer64 (OutputStream *output, void *position, EndianType type, bool is_cap=true) noexcept
 Get 64-bit memory view.
 
static char toChar (unsigned char ch, bool is_cap) noexcept
 

Detailed Description

Memory viewer tool.

Member Typedef Documentation

◆ OutputStream

Constructor & Destructor Documentation

◆ MemoryViewer()

sese::MemoryViewer::MemoryViewer ( )
delete

Member Function Documentation

◆ peer()

void MemoryViewer::peer ( OutputStream * output,
void * position,
size_t size,
bool is_cap = true )
staticnoexcept

Get memory view.

Parameters
outputOutput stream
positionMemory address
sizeMemory size
is_capUppercase

References toChar().

◆ peer16() [1/2]

void MemoryViewer::peer16 ( OutputStream * output,
void * position,
bool is_cap = true )
staticnoexcept

Get 16-bit memory view.

Parameters
outputOutput stream
is_capUppercase
positionMemory address

◆ peer16() [2/2]

void MemoryViewer::peer16 ( OutputStream * output,
void * position,
EndianType type,
bool is_cap = true )
staticnoexcept

Get 16-bit memory view.

Parameters
outputOutput stream
positionMemory address
typeEndian format for output
is_capUppercase

References BIG, ToBigEndian16(), and ToLittleEndian16().

◆ peer32() [1/2]

void MemoryViewer::peer32 ( OutputStream * output,
void * position,
bool is_cap = true )
staticnoexcept

Get 32-bit memory view.

Parameters
outputOutput stream
positionMemory address
is_capUppercase

◆ peer32() [2/2]

void MemoryViewer::peer32 ( OutputStream * output,
void * position,
EndianType type,
bool is_cap = true )
staticnoexcept

Get 32-bit memory view.

Parameters
outputOutput stream
positionMemory address
typeEndian format for output
is_capUppercase

References BIG, ToBigEndian32(), and ToLittleEndian32().

◆ peer64() [1/2]

void MemoryViewer::peer64 ( OutputStream * output,
void * position,
bool is_cap = true )
staticnoexcept

Get 64-bit memory view.

Parameters
outputOutput stream
positionMemory address
is_capUppercase

◆ peer64() [2/2]

void MemoryViewer::peer64 ( OutputStream * output,
void * position,
EndianType type,
bool is_cap = true )
staticnoexcept

Get 64-bit memory view.

Parameters
outputOutput stream
positionMemory address
typeEndian format for output
is_capUppercase

References BIG, ToBigEndian64(), and ToLittleEndian64().

◆ peer8()

void MemoryViewer::peer8 ( OutputStream * output,
void * position,
bool is_cap = true )
staticnoexcept

Get 8-bit memory view.

Parameters
outputOutput stream
is_capUppercase
positionMemory address

◆ toChar()

char MemoryViewer::toChar ( unsigned char ch,
bool is_cap )
staticnoexcept

Referenced by sese::MD5Util::encode().


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