commit | 7ecc1aad7d1ad60b2e796f3c505cdcfacbe38b09 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Wed Aug 30 19:21:46 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 30 19:21:46 2023 +0000 |
tree | df2a63b71b6fede1edeed099db2aefe970b60187 | |
parent | 23d3f1a91f552170487e3f93057dcfbed378af0c [diff] |
Revert "[execsupport] Delete" This reverts commit 23d3f1a91f552170487e3f93057dcfbed378af0c. Reason for revert: "text file busy" flakes are happening more often since this landed Original change's description: > [execsupport] Delete > > Adding locks around forking to prevent leaked nsjail file descriptors > should no longer be necessary now that we open nsjail with O_CLOEXEC, > which prevents the file descriptor from leaking. > > Change-Id: Id89a3f493c2322668a71cbd51f99e0bbd7f31efd > Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/909333 > Reviewed-by: Marc-Antoine Ruel <maruel@google.com> > Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> > Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Change-Id: Icf5709923da0ec523d50db3fc82b94fbab8c91fc No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/909855 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: RubberStamper 🤖 <android-build-ayeaye@system.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.