C# Class Reko.Analysis.IndirectCallRewriter

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

Public Methods

Method 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

Method 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 method

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

Rewrite() public method

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
return bool