Articles Tagged “Static Analysis”
3 articles tagged “Static Analysis”, newest first.
-
Building a PowerShell Analysis Tool in PowerShell — Read Scripts with the AST, Not Regular Expressions
Display a real PowerShell AST and see what object each line of code becomes. Walk from ScriptBlockAst to CommandAst and find where Write-Host is called, excl...
-
Protecting PowerShell Script Quality with PSScriptAnalyzer — Rule Selection and CI Integration
A practical guide to introducing PSScriptAnalyzer, PowerShell's static analysis module, to your in-house scripts. Covers the rules to enable first, how to wr...
-
What Is Roslyn? Reading, Fixing, and Generating C# Code from the Compiler's Point of View
An overview of Roslyn (the .NET Compiler Platform): Syntax Trees, SemanticModel, Workspaces, Analyzers, Source Generators, and where they fit (and where to b...