Skip to content

Commit

Permalink
Fix type StrcpyChainRewiter -> StrcpyChainRewriter
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomin committed Jul 26, 2023
1 parent 1a90278 commit 8d75284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ namespace Reko.Arch.X86.Analysis
/// ret
/// </code>
/// </remarks>
public class StrcpyChainRewiter : IAnalysis<SsaState>
public class StrcpyChainRewriter : IAnalysis<SsaState>
{
private readonly AnalysisContext ctx;
private readonly ExpressionEmitter m;
private readonly ExpressionValueComparer cmp;

public StrcpyChainRewiter(AnalysisContext ctx)
public StrcpyChainRewriter(AnalysisContext ctx)
{
this.ctx = ctx;
this.m = new();
this.cmp = new();
}

public string Id => "strcpy-chain-rewiter";
public string Id => "strcpy-chain-rewriter";

public string Description => "Rewite scasb/movsd/movsb sequence as strcpy";

Expand Down
2 changes: 1 addition & 1 deletion src/Arch/X86/Analysis/X86AnalysisFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public IAnalysis<SsaState>[] CreateSsaAnalyses(AnalysisStage stage, SsaState ssa
}
if (stage == AnalysisStage.AfterExpressionCoalescing)
{
return new[] { new StrcpyChainRewiter(ctx) };
return new[] { new StrcpyChainRewriter(ctx) };
}
return Array.Empty<IAnalysis<SsaState>>();
}
Expand Down

0 comments on commit 8d75284

Please sign in to comment.