C# Класс Reko.Core.ProcessorArchitecture

Наследование: IProcessorArchitecture
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateDisassembler ( Reko.Core.ImageReader imageReader ) : IEnumerable
CreateFrame ( ) : Frame
CreateImageReader ( MemoryArea img, Address addr ) : Reko.Core.ImageReader
CreateImageReader ( MemoryArea img, Address addrBegin, Address addrEnd ) : Reko.Core.ImageReader
CreateImageReader ( MemoryArea img, ulong off ) : Reko.Core.ImageReader
CreateImageWriter ( ) : Reko.Core.ImageWriter
CreateImageWriter ( MemoryArea img, Address addr ) : Reko.Core.ImageWriter
CreateInstructionComparer ( Normalize norm ) : IEqualityComparer
CreatePointerScanner ( Reko.Core.SegmentMap map, Reko.Core.ImageReader rdr, IEnumerable
knownAddresses, PointerScannerFlags flags ) : IEnumerable
CreateProcessorState ( ) : ProcessorState
CreateRewriter ( Reko.Core.ImageReader rdr, ProcessorState state, Frame frame, IRewriterHost host ) : IEnumerable
CreateStackAccess ( Frame frame, int cbOffset, DataType dataType ) : Expression
GetAliases ( RegisterStorage reg ) : IEnumerable
GetFlagGroup ( string name ) : FlagGroupStorage
GetFlagGroup ( uint grf ) : FlagGroupStorage
GetOpcodeNames ( ) : int>.SortedList

Returns a map of opcode names to their internal (Reko) numbers.

GetOpcodeNumber ( string name ) : int?

For a particular opcode name, returns its internal (Reko) number.

GetPart ( RegisterStorage reg, DataType dt ) : RegisterStorage
GetRegister ( int i ) : RegisterStorage
GetRegister ( string name ) : RegisterStorage
GetRegisters ( ) : RegisterStorage[]
GetSubregister ( RegisterStorage reg, int offset, int width ) : RegisterStorage

Get the improper subregister of reg that starts at offset offset and is of size width.

Most architectures not have subregisters, and will use this default implementation. This method is overridden for architectures like x86 and Z80, where subregisters (ah al etc) do exist.

GetWidestSubregister ( RegisterStorage reg, HashSet regs ) : RegisterStorage
GrfToString ( uint grf ) : string
LoadUserOptions ( object>.Dictionary options ) : void
MakeAddressFromConstant ( Constant c ) : Address
MakeSegmentedAddress ( Constant seg, Constant offset ) : Address
ReadCodeAddress ( int size, Reko.Core.ImageReader rdr, ProcessorState state ) : Address
RemoveAliases ( ISet ids, RegisterStorage reg ) : void
SaveUserOptions ( ) : object>.Dictionary
TryGetRegister ( string name, RegisterStorage &reg ) : bool
TryParseAddress ( string txtAddr, Address &addr ) : bool

Описание методов

CreateDisassembler() публичный абстрактный Метод

public abstract CreateDisassembler ( Reko.Core.ImageReader imageReader ) : IEnumerable
imageReader Reko.Core.ImageReader
Результат IEnumerable

CreateFrame() публичный Метод

public CreateFrame ( ) : Frame
Результат Frame

CreateImageReader() публичный абстрактный Метод

public abstract CreateImageReader ( MemoryArea img, Address addr ) : Reko.Core.ImageReader
img MemoryArea
addr Address
Результат Reko.Core.ImageReader

CreateImageReader() публичный абстрактный Метод

public abstract CreateImageReader ( MemoryArea img, Address addrBegin, Address addrEnd ) : Reko.Core.ImageReader
img MemoryArea
addrBegin Address
addrEnd Address
Результат Reko.Core.ImageReader

CreateImageReader() публичный абстрактный Метод

public abstract CreateImageReader ( MemoryArea img, ulong off ) : Reko.Core.ImageReader
img MemoryArea
off ulong
Результат Reko.Core.ImageReader

CreateImageWriter() публичный абстрактный Метод

public abstract CreateImageWriter ( ) : Reko.Core.ImageWriter
Результат Reko.Core.ImageWriter

CreateImageWriter() публичный абстрактный Метод

public abstract CreateImageWriter ( MemoryArea img, Address addr ) : Reko.Core.ImageWriter
img MemoryArea
addr Address
Результат Reko.Core.ImageWriter

CreateInstructionComparer() публичный абстрактный Метод

public abstract CreateInstructionComparer ( Normalize norm ) : IEqualityComparer
norm Normalize
Результат IEqualityComparer

CreatePointerScanner() публичный абстрактный Метод

public abstract CreatePointerScanner ( Reko.Core.SegmentMap map, Reko.Core.ImageReader rdr, IEnumerable
knownAddresses, PointerScannerFlags flags ) : IEnumerable
map Reko.Core.SegmentMap
rdr Reko.Core.ImageReader
knownAddresses IEnumerable
flags PointerScannerFlags
Результат IEnumerable

CreateProcessorState() публичный абстрактный Метод

public abstract CreateProcessorState ( ) : ProcessorState
Результат ProcessorState

CreateRewriter() публичный абстрактный Метод

public abstract CreateRewriter ( Reko.Core.ImageReader rdr, ProcessorState state, Frame frame, IRewriterHost host ) : IEnumerable
rdr Reko.Core.ImageReader
state ProcessorState
frame Frame
host IRewriterHost
Результат IEnumerable

CreateStackAccess() публичный абстрактный Метод

public abstract CreateStackAccess ( Frame frame, int cbOffset, DataType dataType ) : Expression
frame Frame
cbOffset int
dataType DataType
Результат Expression

GetAliases() публичный Метод

public GetAliases ( RegisterStorage reg ) : IEnumerable
reg RegisterStorage
Результат IEnumerable

GetFlagGroup() публичный абстрактный Метод

public abstract GetFlagGroup ( string name ) : FlagGroupStorage
name string
Результат FlagGroupStorage

GetFlagGroup() публичный абстрактный Метод

public abstract GetFlagGroup ( uint grf ) : FlagGroupStorage
grf uint
Результат FlagGroupStorage

GetOpcodeNames() публичный абстрактный Метод

Returns a map of opcode names to their internal (Reko) numbers.
public abstract GetOpcodeNames ( ) : int>.SortedList
Результат int>.SortedList

GetOpcodeNumber() публичный абстрактный Метод

For a particular opcode name, returns its internal (Reko) number.
public abstract GetOpcodeNumber ( string name ) : int?
name string
Результат int?

GetPart() публичный Метод

public GetPart ( RegisterStorage reg, DataType dt ) : RegisterStorage
reg RegisterStorage
dt DataType
Результат RegisterStorage

GetRegister() публичный абстрактный Метод

public abstract GetRegister ( int i ) : RegisterStorage
i int
Результат RegisterStorage

GetRegister() публичный абстрактный Метод

public abstract GetRegister ( string name ) : RegisterStorage
name string
Результат RegisterStorage

GetRegisters() публичный абстрактный Метод

public abstract GetRegisters ( ) : RegisterStorage[]
Результат RegisterStorage[]

GetSubregister() публичный Метод

Get the improper subregister of reg that starts at offset offset and is of size width.
Most architectures not have subregisters, and will use this default implementation. This method is overridden for architectures like x86 and Z80, where subregisters (ah al etc) do exist.
public GetSubregister ( RegisterStorage reg, int offset, int width ) : RegisterStorage
reg RegisterStorage
offset int
width int
Результат RegisterStorage

GetWidestSubregister() публичный Метод

public GetWidestSubregister ( RegisterStorage reg, HashSet regs ) : RegisterStorage
reg RegisterStorage
regs HashSet
Результат RegisterStorage

GrfToString() публичный абстрактный Метод

public abstract GrfToString ( uint grf ) : string
grf uint
Результат string

LoadUserOptions() публичный Метод

public LoadUserOptions ( object>.Dictionary options ) : void
options object>.Dictionary
Результат void

MakeAddressFromConstant() публичный абстрактный Метод

public abstract MakeAddressFromConstant ( Constant c ) : Address
c Constant
Результат Address

MakeSegmentedAddress() публичный Метод

public MakeSegmentedAddress ( Constant seg, Constant offset ) : Address
seg Constant
offset Constant
Результат Address

ReadCodeAddress() публичный абстрактный Метод

public abstract ReadCodeAddress ( int size, Reko.Core.ImageReader rdr, ProcessorState state ) : Address
size int
rdr Reko.Core.ImageReader
state ProcessorState
Результат Address

RemoveAliases() публичный Метод

public RemoveAliases ( ISet ids, RegisterStorage reg ) : void
ids ISet
reg RegisterStorage
Результат void

SaveUserOptions() публичный Метод

public SaveUserOptions ( ) : object>.Dictionary
Результат object>.Dictionary

TryGetRegister() публичный абстрактный Метод

public abstract TryGetRegister ( string name, RegisterStorage &reg ) : bool
name string
reg RegisterStorage
Результат bool

TryParseAddress() публичный абстрактный Метод

public abstract TryParseAddress ( string txtAddr, Address &addr ) : bool
txtAddr string
addr Address
Результат bool