You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS keeps prompting to install analyzers after Homebrew fails to install IKOS #33
On Apple Silicon with the default static tools selected, choose Install Analyzers, then run analysis again. In the observed case Cppcheck, Flawfinder and TscanCode were present, but IKOS was still missing. Homebrew refused to load its nasa-sw-vnv/core/apron dependency until the user trusted that formula. The installer suppresses the Homebrew failure, and the command returns as soon as an interactive terminal opens. Preflight also requires an Apple Silicon Cppcheck path even when a compatible executable is available elsewhere.
Expected behavior and verification
Run Homebrew as the invoking user, surface its actionable error, and wait for verification. Use the same executable resolution during preflight and analysis. Test a rejected dependency, a successful repair and a second run. The original scan should resume after successful verification without opening another installer.
Fixed on branch 33-macos-ikos-install (833853f), pull request #49.
Homebrew now runs as the invoking user. A failed brew install is no longer hidden: it is printed and summed up, and the extension shows Homebrew's own message (for example, the request to trust the nasa-sw-vnv/core/apron formula).
The password terminal runs the installer itself. The extension waits for it to finish and verifies the tools. When verification succeeds, the original scan resumes without opening another installer. When it fails, the run stops.
The installer script and its log are written to a private temporary folder instead of a predictable name in /tmp.
Preflight and the analysis command use the same rule to pick Cppcheck: the first SARIF-capable executable from Homebrew, the CoreTrace tools folder or PATH. A suitable Cppcheck outside /opt/homebrew/bin is accepted.
Tests: a refused IKOS dependency (Homebrew's message is reported and the rest still installs), a failed repair (the scan does not start), and a successful repair (the scan resumes and the next run asks nothing). Cppcheck resolution is covered too. This branch is built on top of #34, #40 and #39. Unit and workspace suites pass locally (Linux).
Activity
Arthurvroum commentedon Nov 25, 2026
Fixed on branch
33-macos-ikos-install(833853f), pull request #49.brew installis no longer hidden: it is printed and summed up, and the extension shows Homebrew's own message (for example, the request to trust thenasa-sw-vnv/core/apronformula)./tmp.PATH. A suitable Cppcheck outside/opt/homebrew/binis accepted.Tests: a refused IKOS dependency (Homebrew's message is reported and the rest still installs), a failed repair (the scan does not start), and a successful repair (the scan resumes and the next run asks nothing). Cppcheck resolution is covered too. This branch is built on top of #34, #40 and #39. Unit and workspace suites pass locally (Linux).