C# Class 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.
Inheritance: Reko.Core.Serialization.ProcedureSerializer
Afficher le fichier Open project: uxmal/reko Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
DeserializeImplicitThisArgument ( SerializedSignature ss ) : Identifier

Method Details

ApplyConvention() public méthode

public ApplyConvention ( SerializedSignature ssig, FunctionType sig ) : void
ssig SerializedSignature
sig FunctionType
Résultat void

Deserialize() public méthode

public Deserialize ( SerializedSignature ss, Frame frame ) : FunctionType
ss SerializedSignature
frame Reko.Core.Frame
Résultat FunctionType

DeserializeArgument() public méthode

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
Résultat Identifier

GetReturnRegister() public méthode

public GetReturnRegister ( Reko.Core.Serialization.Argument_v1 sArg, int bitSize ) : Storage
sArg Reko.Core.Serialization.Argument_v1
bitSize int
Résultat Storage

X86ProcedureSerializer() public méthode

public X86ProcedureSerializer ( IntelArchitecture arch, ISerializedTypeVisitor typeLoader, string defaultCc ) : Reko.Core
arch IntelArchitecture
typeLoader ISerializedTypeVisitor
defaultCc string
Résultat Reko.Core