메소드 | 설명 | |
---|---|---|
Clone ( ) : |
||
CreateNew ( Array bytes, ulong offset ) : |
Create a new EndianImageReader with the same endianness as this one.
|
|
CreateNew ( |
||
Read ( PrimitiveType dataType ) : Constant | ||
ReadAt ( long offset, Func action ) : T | ||
ReadCString ( DataType charType, Encoding encoding ) : StringConstant |
Reads a NUL-terminated string starting at the current position.
|
|
ReadInt16 ( ) : short | ||
ReadInt16 ( uint offset ) : short | ||
ReadInt32 ( ) : int | ||
ReadInt32 ( uint offset ) : int | ||
ReadInt64 ( ) : long | ||
ReadInt64 ( uint offset ) : long | ||
ReadLengthPrefixedString ( PrimitiveType lengthType, PrimitiveType charType, Encoding encoding ) : StringConstant |
Read a character string that is preceded by a character count.
|
|
ReadNullCharTerminator ( DataType charType ) : bool |
|
|
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 |
메소드 | 설명 | |
---|---|---|
EndianImageReader ( Array img ) : Reko.Core.Expressions | ||
EndianImageReader ( Array img, ulong off ) : Reko.Core.Expressions | ||
EndianImageReader ( |
||
EndianImageReader ( |
||
EndianImageReader ( |
public abstract CreateNew ( Array bytes, ulong offset ) : |
||
bytes | Array | |
offset | ulong | |
리턴 |
public abstract CreateNew ( |
||
image | ||
addr | Reko.Core.Address | |
리턴 |
protected EndianImageReader ( Array img ) : Reko.Core.Expressions | ||
img | Array | |
리턴 | Reko.Core.Expressions |
protected EndianImageReader ( Array img, ulong off ) : Reko.Core.Expressions | ||
img | Array | |
off | ulong | |
리턴 | Reko.Core.Expressions |
protected EndianImageReader ( |
||
img | ||
addr | Reko.Core.Address | |
리턴 | Reko.Core.Expressions |
protected EndianImageReader ( |
||
img | ||
addrBegin | Reko.Core.Address | |
addrEnd | Reko.Core.Address | |
리턴 | Reko.Core.Expressions |
protected EndianImageReader ( |
||
img | ||
off | ulong | |
리턴 | Reko.Core.Expressions |
public abstract Read ( PrimitiveType dataType ) : Constant | ||
dataType | PrimitiveType | |
리턴 | Constant |
public ReadCString ( DataType charType, Encoding encoding ) : StringConstant | ||
charType | DataType | |
encoding | Encoding | |
리턴 | StringConstant |
public ReadLengthPrefixedString ( PrimitiveType lengthType, PrimitiveType charType, Encoding encoding ) : StringConstant | ||
lengthType | PrimitiveType | |
charType | PrimitiveType | |
encoding | Encoding | |
리턴 | StringConstant |
public ReadNullCharTerminator ( DataType charType ) : bool | ||
charType | DataType | |
리턴 | bool |
public abstract TryPeekUInt32 ( int offset, uint &value ) : bool | ||
offset | int | |
value | uint | |
리턴 | bool |
public abstract TryRead ( PrimitiveType dataType, Constant &c ) : bool | ||
dataType | PrimitiveType | |
c | Constant | |
리턴 | bool |
public abstract TryReadUInt16 ( ushort &ui16 ) : bool | ||
ui16 | ushort | |
리턴 | bool |