[engine] Rename ctx.emit.annotation to ctx.emit.finding

"finding" is more generic, and so more accurately represents the fact
that it need not be attached to a specific file or file range, and that
it may be an error ("annotation" sounds more informational).

"finding" is also slighter easier to spell than "annotation" :)

Change-Id: I98c9cadc9bb5e51740fe23b910aa8d59b362f691
Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/874895
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>
40 files changed
tree: 2b3ea72253e70a52b442098a12054112b76c3818
  1. .github/
  2. doc/
  3. images/
  4. internal/
  5. scripts/
  6. .gitignore
  7. AUTHORS
  8. check_doc.star
  9. codecov.yml
  10. CONTRIBUTING.md
  11. go.mod
  12. go.star
  13. go.sum
  14. LICENSE
  15. licenses.star
  16. main.go
  17. OWNERS
  18. PATENTS
  19. README.md
  20. shac.star
  21. shac.textproto
README.md

shac

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.

usage demonstration

Usage

go install go.fuchsia.dev/shac-project/shac@latest
shac check
shac doc shac.star | less

Documentation

Contributing

⚠ 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.