commit | 89d15c8efe973e24620884e6718b3d6ef5500a07 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Thu Jul 20 15:43:06 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 20 15:43:06 2023 +0000 |
tree | dacb35076bb6e60b2a92355305baffe74d0e8e93 | |
parent | 8a59b3be04fe0b4f68684201c67644b6f381d797 [diff] |
[engine] Dedupe shacState construction logic Now a new shacState field that should be the same regardless of whether recursion is enabled will only need to be set in one place. Change-Id: I723c7c87ac65e93ac9a5e080f123789b8a35021a Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/887592 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Marc-Antoine Ruel <maruel@google.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.