diff --git a/src/Arch/X86/Analysis/StrcpyChainRewiter.cs b/src/Arch/X86/Analysis/StrcpyChainRewriter.cs similarity index 98% rename from src/Arch/X86/Analysis/StrcpyChainRewiter.cs rename to src/Arch/X86/Analysis/StrcpyChainRewriter.cs index 654df910db..fca8ac3c40 100644 --- a/src/Arch/X86/Analysis/StrcpyChainRewiter.cs +++ b/src/Arch/X86/Analysis/StrcpyChainRewriter.cs @@ -54,20 +54,20 @@ namespace Reko.Arch.X86.Analysis /// ret /// /// - public class StrcpyChainRewiter : IAnalysis + public class StrcpyChainRewriter : IAnalysis { 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"; diff --git a/src/Arch/X86/Analysis/X86AnalysisFactory.cs b/src/Arch/X86/Analysis/X86AnalysisFactory.cs index 1eaebdc0dc..06abcc794f 100644 --- a/src/Arch/X86/Analysis/X86AnalysisFactory.cs +++ b/src/Arch/X86/Analysis/X86AnalysisFactory.cs @@ -37,7 +37,7 @@ public IAnalysis[] CreateSsaAnalyses(AnalysisStage stage, SsaState ssa } if (stage == AnalysisStage.AfterExpressionCoalescing) { - return new[] { new StrcpyChainRewiter(ctx) }; + return new[] { new StrcpyChainRewriter(ctx) }; } return Array.Empty>(); }