[crashsvc] refector for testability

We're going to be changing crashsvc to use the new exception APIs, but
it'll be useful to add some tests first to make sure behavior stays
consistent.

This CL mostly just refactors crashsvc to make testing possible, more
tests will be added in a follow-up CL.

Test: scripts/run-zircon-x64 -C -b -k -z build-clang/core-tests-x64.zbi
Test: runtests

Change-Id: If38c7d7142074887d152cf1ab90adf169d39dc79
6 files changed
tree: 57c558feb77a9d956d2dddd5a969d5c4e21819a1
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. examples/
  7. garnet/
  8. infra/
  9. peridot/
  10. products/
  11. scripts/
  12. sdk/
  13. src/
  14. third_party/
  15. tools/
  16. zircon/
  17. .clang-format
  18. .dir-locals.el
  19. .gitattributes
  20. .gitignore
  21. .gn
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. README.md
  30. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.