C# Class Reko.Core.BeImageReader

Use this reader when the processor is in Big-Endian mode to read multi- byte quantities from memory.
Inheritance: EndianImageReader
Datei anzeigen Open project: smx-smx/reko Class Usage Examples

Public Methods

Method Description
BeImageReader ( Array bytes ) : Reko.Core.Expressions
BeImageReader ( Array bytes, ulong offset ) : Reko.Core.Expressions
BeImageReader ( MemoryArea image, Reko.Core.Address addr ) : Reko.Core.Expressions
BeImageReader ( MemoryArea image, Reko.Core.Address addrBegin, Reko.Core.Address addrEnd ) : Reko.Core.Expressions
BeImageReader ( MemoryArea image, ulong offset ) : Reko.Core.Expressions
CreateNew ( Array bytes, ulong offset ) : EndianImageReader
CreateNew ( MemoryArea image, Reko.Core.Address addr ) : EndianImageReader
Read ( PrimitiveType dataType ) : Constant
ReadAt ( long offset, Func action ) : T
ReadInt16 ( ) : short
ReadInt16 ( uint offset ) : short
ReadInt32 ( ) : int
ReadInt32 ( uint offset ) : int
ReadInt64 ( ) : long
ReadInt64 ( uint offset ) : long
ReadUInt16 ( ) : ushort
ReadUInt16 ( uint offset ) : ushort
ReadUInt32 ( ) : uint
ReadUInt32 ( uint offset ) : uint
ReadUInt64 ( ) : ulong
ReadUInt64 ( uint offset ) : ulong
TryPeekUInt32 ( int offset, uint &value ) : bool
TryRead ( PrimitiveType dataType, Constant &c ) : bool
TryReadInt32 ( int &i32 ) : bool
TryReadInt64 ( long &value ) : bool
TryReadUInt16 ( ushort &ui16 ) : bool
TryReadUInt32 ( uint &ui32 ) : bool
TryReadUInt64 ( ulong &ui64 ) : bool

Method Details

BeImageReader() public method

public BeImageReader ( Array bytes ) : Reko.Core.Expressions
bytes Array
return Reko.Core.Expressions

BeImageReader() public method

public BeImageReader ( Array bytes, ulong offset ) : Reko.Core.Expressions
bytes Array
offset ulong
return Reko.Core.Expressions

BeImageReader() public method

public BeImageReader ( MemoryArea image, Reko.Core.Address addr ) : Reko.Core.Expressions
image MemoryArea
addr Reko.Core.Address
return Reko.Core.Expressions

BeImageReader() public method

public BeImageReader ( MemoryArea image, Reko.Core.Address addrBegin, Reko.Core.Address addrEnd ) : Reko.Core.Expressions
image MemoryArea
addrBegin Reko.Core.Address
addrEnd Reko.Core.Address
return Reko.Core.Expressions

BeImageReader() public method

public BeImageReader ( MemoryArea image, ulong offset ) : Reko.Core.Expressions
image MemoryArea
offset ulong
return Reko.Core.Expressions

CreateNew() public method

public CreateNew ( Array bytes, ulong offset ) : EndianImageReader
bytes Array
offset ulong
return EndianImageReader

CreateNew() public method

public CreateNew ( MemoryArea image, Reko.Core.Address addr ) : EndianImageReader
image MemoryArea
addr Reko.Core.Address
return EndianImageReader

Read() public method

public Read ( PrimitiveType dataType ) : Constant
dataType PrimitiveType
return Constant

ReadAt() public method

public ReadAt ( long offset, Func action ) : T
offset long
action Func
return T

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt16() public method

public ReadInt16 ( uint offset ) : short
offset uint
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt32() public method

public ReadInt32 ( uint offset ) : int
offset uint
return int

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadInt64() public method

public ReadInt64 ( uint offset ) : long
offset uint
return long

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUInt16() public method

public ReadUInt16 ( uint offset ) : ushort
offset uint
return ushort

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint

ReadUInt32() public method

public ReadUInt32 ( uint offset ) : uint
offset uint
return uint

ReadUInt64() public method

public ReadUInt64 ( ) : ulong
return ulong

ReadUInt64() public method

public ReadUInt64 ( uint offset ) : ulong
offset uint
return ulong

TryPeekUInt32() public method

public TryPeekUInt32 ( int offset, uint &value ) : bool
offset int
value uint
return bool

TryRead() public method

public TryRead ( PrimitiveType dataType, Constant &c ) : bool
dataType PrimitiveType
c Constant
return bool

TryReadInt32() public method

public TryReadInt32 ( int &i32 ) : bool
i32 int
return bool

TryReadInt64() public method

public TryReadInt64 ( long &value ) : bool
value long
return bool

TryReadUInt16() public method

public TryReadUInt16 ( ushort &ui16 ) : bool
ui16 ushort
return bool

TryReadUInt32() public method

public TryReadUInt32 ( uint &ui32 ) : bool
ui32 uint
return bool

TryReadUInt64() public method

public TryReadUInt64 ( ulong &ui64 ) : bool
ui64 ulong
return bool