commit | ab2e3b48079abef1b68dc1b95f22cf3e4db5e611 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Wed Aug 16 14:40:20 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 16 14:40:20 2023 +0000 |
tree | 871a45ff8b8a0f206ca19785a7b5c6780fa53d40 | |
parent | 07ecc7ea9e8430416220c1cfd6ced1a29fc480b9 [diff] |
[engine] Address code review comments Follow-up from https://fxrev.dev/900300. Change-Id: I65752d2a795a0f84139dbec9eefc7be3312823d3 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/903018 Reviewed-by: Marc-Antoine Ruel <maruel@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
Shac (Scalable Hermetic Analysis and Checks) is a unified and ergonomic tool and framework for writing and running static analysis checks.
Shac checks are written in Starlark.
go install go.fuchsia.dev/shac-project/shac@latest shac check shac doc shac.star | less
Planned features/changes, in descending order by priority:
shac.textproto
shac.star
files.shac
cache directory that checks can write toctx.scm
glob
arguments to ctx.scm.{all,affected}_files()
functions for easier filtering⚠ The source of truth is at https://fuchsia.googlesource.com/shac-project/shac.git and uses Gerrit for code review.
See CONTRIBUTING.md to submit changes.