C# Класс Reko.Arch.X86.X86ProcedureSerializer

Serializes and deserializes procedure signatures.
This code is aware of the different calling convetions on x86 processors. Should your ABI be different, you need to make the Platform that loaded the binary return an object that derives from this class.
Наследование: Reko.Core.Serialization.ProcedureSerializer
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ApplyConvention ( SerializedSignature ssig, FunctionType sig ) : void
Deserialize ( SerializedSignature ss, Frame frame ) : FunctionType
DeserializeArgument ( Reko.Core.Serialization.Argument_v1 arg, int idx, string convention ) : Identifier

Deserializes an argument.

GetReturnRegister ( Reko.Core.Serialization.Argument_v1 sArg, int bitSize ) : Storage
X86ProcedureSerializer ( IntelArchitecture arch, ISerializedTypeVisitor typeLoader, string defaultCc ) : Reko.Core

Приватные методы

Метод Описание
DeserializeImplicitThisArgument ( SerializedSignature ss ) : Identifier

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

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

public ApplyConvention ( SerializedSignature ssig, FunctionType sig ) : void
ssig SerializedSignature
sig FunctionType
Результат void

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

public Deserialize ( SerializedSignature ss, Frame frame ) : FunctionType
ss SerializedSignature
frame Reko.Core.Frame
Результат FunctionType

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

Deserializes an argument.
public DeserializeArgument ( Reko.Core.Serialization.Argument_v1 arg, int idx, string convention ) : Identifier
arg Reko.Core.Serialization.Argument_v1
idx int
convention string
Результат Identifier

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

public GetReturnRegister ( Reko.Core.Serialization.Argument_v1 sArg, int bitSize ) : Storage
sArg Reko.Core.Serialization.Argument_v1
bitSize int
Результат Storage

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

public X86ProcedureSerializer ( IntelArchitecture arch, ISerializedTypeVisitor typeLoader, string defaultCc ) : Reko.Core
arch IntelArchitecture
typeLoader ISerializedTypeVisitor
defaultCc string
Результат Reko.Core