Technology static analysislegacy codeC#open sourceLLM

Tracing Legacy .NET Code with Static Analysis

2 Technology Post static analysis, legacy code, C#, open source, LLM Nov 19, 2024 1732060800000

I wrote my static analysis tool to trace legacy .NET code. Our demo app is open source C# with modern architectural patterns. Which provides fun new challenges.

  • Locating which implementation of an interface is being used in call.
  • Mapping from code to database schema in a generic repository pattern
  • Schema definitions added with ALTER and not the CREATE

All this to provide relevant, minimally sufficient context to LLM’s. Better quality, lower compute costs = more responsible engineering.

Originally published on LinkedIn on Nov 19, 2024. Enhanced for this site with expanded insights and additional resources.