commit | ee2ba629390565bbe7819581d280686117457343 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Wed Sep 06 15:44:19 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 06 15:44:19 2023 +0000 |
tree | 9a9438cdcc8900cd0b36f7e036192ee3cceebe8d | |
parent | c9b3edb0de0c4816eadfedd3ef3c9161093a8fc1 [diff] |
[engine] Fix segfault Under some conditions, if an error occurred during `copyTree` then `err` would be set and `d` would be nil, leading to the error turning into a segfault. Change-Id: I52194d50bc47cd896f029ea4dce782214db54e95 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/912733 Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Reviewed-by: Marc-Antoine Ruel <maruel@google.com> Commit-Queue: 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.