commit | eea6195bb54f8a766c5de85f7d8f2f319eb829a2 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Mon Aug 07 14:31:42 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 07 14:31:42 2023 +0000 |
tree | da50c5e9221d85677058b0ae3a3c54c8715c63d2 | |
parent | f429c077682e89c221f876797abb0b439b813519 [diff] |
[engine] Use slices.Contains Change-Id: I9382e5bece54bb4b3ee1744677d2034f1b51d725 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/896618 Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Marc-Antoine Ruel <maruel@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.