C# Class Reko.Analysis.UserSignatureBuilder

Builds ProcedureSignatures from user-supplied signatures.
Afficher le fichier Open project: uxmal/reko Class Usage Examples

Méthodes publiques

Méthode Description
ApplySignatureToProcedure ( Address addr, FunctionType sig, Procedure proc ) : void
BuildSignature ( Address addr, Procedure proc ) : bool
BuildSignatures ( DecompilerEventListener listener ) : void

For each procedure, either use a user-supplied signature, or the predefined one.

DeserializeSignature ( Procedure_v1 userProc, Procedure proc ) : ProcedureBase_v1
IsValidCIdentifier ( string id ) : bool
ParseFunctionDeclaration ( string fnDecl ) : ProcedureBase_v1
ParseGlobalDeclaration ( string txtGlobal ) : Reko.Core.Serialization.GlobalDataItem_v2
UserSignatureBuilder ( Program program ) : Reko.Core

Private Methods

Méthode Description
NewMethod ( Identifier param, Identifier dst ) : Assignment

Method Details

ApplySignatureToProcedure() public méthode

public ApplySignatureToProcedure ( Address addr, FunctionType sig, Procedure proc ) : void
addr Address
sig FunctionType
proc Procedure
Résultat void

BuildSignature() public méthode

public BuildSignature ( Address addr, Procedure proc ) : bool
addr Address
proc Procedure
Résultat bool

BuildSignatures() public méthode

For each procedure, either use a user-supplied signature, or the predefined one.
public BuildSignatures ( DecompilerEventListener listener ) : void
listener DecompilerEventListener
Résultat void

DeserializeSignature() public méthode

public DeserializeSignature ( Procedure_v1 userProc, Procedure proc ) : ProcedureBase_v1
userProc Reko.Core.Serialization.Procedure_v1
proc Procedure
Résultat Reko.Core.Serialization.ProcedureBase_v1

IsValidCIdentifier() public static méthode

public static IsValidCIdentifier ( string id ) : bool
id string
Résultat bool

ParseFunctionDeclaration() public méthode

public ParseFunctionDeclaration ( string fnDecl ) : ProcedureBase_v1
fnDecl string
Résultat Reko.Core.Serialization.ProcedureBase_v1

ParseGlobalDeclaration() public méthode

public ParseGlobalDeclaration ( string txtGlobal ) : Reko.Core.Serialization.GlobalDataItem_v2
txtGlobal string
Résultat Reko.Core.Serialization.GlobalDataItem_v2

UserSignatureBuilder() public méthode

public UserSignatureBuilder ( Program program ) : Reko.Core
program Program
Résultat Reko.Core