C# Class Reko.Analysis.IndirectCallRewriter

Try to rewrite indirect call statements to applications using user-defined data (e.g. global variables, parameters of procedures).
Afficher le fichier Open project: uxmal/reko Class Usage Examples

Méthodes publiques

Méthode Description
IndirectCallRewriter ( Program program, Reko.Analysis.SsaState ssa, DecompilerEventListener eventListener ) : System
Rewrite ( ) : bool

Rewrites indirect call statements to applications using user-defined data. Also generates statements that adjust the stack pointer according to the calling convention.

Private Methods

Méthode Description
AdjustStackPointerAfterCall ( Reko.Core.Statement stm, CallInstruction call, int stackDelta ) : void
InsertStatement ( Reko.Core.Statement stm, Instruction instr ) : Reko.Core.Statement
RewriteCall ( Reko.Core.Statement stm, CallInstruction call ) : void
Use ( Reko.Core.Statement stm, Expression e ) : void

Method Details

IndirectCallRewriter() public méthode

public IndirectCallRewriter ( Program program, Reko.Analysis.SsaState ssa, DecompilerEventListener eventListener ) : System
program Program
ssa Reko.Analysis.SsaState
eventListener DecompilerEventListener
Résultat System

Rewrite() public méthode

Rewrites indirect call statements to applications using user-defined data. Also generates statements that adjust the stack pointer according to the calling convention.
public Rewrite ( ) : bool
Résultat bool