infersharp/RUNNING_INFERSHARP_ON_WINDO...

723 B

How to Run Infer# Locally on Windows via WSL2 (Windows Subsystem for Linux)

Prerequisite

Please use the Ubuntu-20.04 WSL distribution or the Debian WSL distribution.

Setup

  1. From Windows Command Prompt or PowerShell, enter wsl.exe to open your default Linux distribution.
  2. Execute the following commands:
cd ~ && wget https://github.com/microsoft/infersharp/releases/download/v1.2/infersharp-linux64-v1.2.tar.gz && tar -xvzf infersharp-linux64-v1.2.tar.gz && cd infersharp
  1. Run Infer# against your binaries. For example, if the binaries are at C:\Code\MyApp\bin
./run_infersharp.sh /mnt/c/Code/MyApp/bin/