From 8d7528445f251db5aa0442f3f25c72472ecf5d25 Mon Sep 17 00:00:00 2001 From: Pavel Tomin <_xyz_@mail.ru> Date: Wed, 26 Jul 2023 23:04:24 +0500 Subject: [PATCH] Fix type StrcpyChainRewiter -> StrcpyChainRewriter --- .../{StrcpyChainRewiter.cs => StrcpyChainRewriter.cs} | 6 +++--- src/Arch/X86/Analysis/X86AnalysisFactory.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/Arch/X86/Analysis/{StrcpyChainRewiter.cs => StrcpyChainRewriter.cs} (98%) 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>(); }