Replace application parameters with ssa identifiers
Inheritance: InstructionTransformer
示例#1
0
 public FpuStackReturnGuesser(SsaState ssa, DecompilerEventListener listener)
 {
     this.ssa              = ssa;
     this.ssam             = new SsaMutator(ssa);
     this.ssaIdTransformer = new SsaIdentifierTransformer(ssa);
     this.listener         = listener;
 }
示例#2
0
 public ValuePropagator(
     IProcessorArchitecture arch,
     SsaState ssa,
     DecompilerEventListener eventListener)
 {
     this.arch             = arch;
     this.ssa              = ssa;
     this.ssaIdTransformer = new SsaIdentifierTransformer(ssa);
     this.evalCtx          = new SsaEvaluationContext(arch, ssa.Identifiers);
     this.eval             = new ExpressionSimplifier(evalCtx, eventListener);
     this.eventListener    = eventListener;
 }
示例#3
0
 public ValuePropagator(
     SegmentMap segmentMap,
     SsaState ssa,
     DecompilerEventListener eventListener)
 {
     this.ssa              = ssa;
     this.arch             = ssa.Procedure.Architecture;
     this.eventListener    = eventListener;
     this.ssaIdTransformer = new SsaIdentifierTransformer(ssa);
     this.evalCtx          = new SsaEvaluationContext(arch, ssa.Identifiers);
     this.eval             = new ExpressionSimplifier(segmentMap, evalCtx, eventListener);
 }
示例#4
0
 public IndirectCallRewriter(
     Program program,
     SsaState ssa,
     DecompilerEventListener eventListener)
 {
     this.program = program;
     this.proc = ssa.Procedure;
     this.ssa = ssa;
     this.asc = new IndirectCallTypeAscender(program);
     this.expander = new IndirectCallExpander(ssa);
     this.ssaIdTransformer = new SsaIdentifierTransformer(ssa);
     this.eventListener = eventListener;
 }
示例#5
0
 public IndirectCallRewriter(
     Program program,
     SsaState ssa,
     DecompilerEventListener eventListener)
 {
     this.program          = program;
     this.proc             = ssa.Procedure;
     this.ssa              = ssa;
     this.asc              = new IndirectCallTypeAscender(program);
     this.expander         = new IndirectCallExpander(ssa);
     this.ssaIdTransformer = new SsaIdentifierTransformer(ssa);
     this.eventListener    = eventListener;
 }
 public ArgumentTransformer(SsaIdentifierTransformer outer)
 {
     this.outer = outer;
 }
示例#7
0
 public DestinationTransformer(SsaIdentifierTransformer outer) :
     base(outer)
 {
     this.outer = outer;
 }
示例#8
0
 public UsedIdsTransformer(SsaIdentifierTransformer outer)
 {
     this.outer = outer;
 }
示例#9
0
 public FpuStackReturnGuesser(SsaState ssa)
 {
     this.ssa              = ssa;
     this.ssam             = new SsaMutator(ssa);
     this.ssaIdTransformer = new SsaIdentifierTransformer(ssa);
 }
示例#10
0
 public ArgumentTransformer(SsaIdentifierTransformer outer)
 {
     this.outer = outer;
 }