[tools][symbolize] Make text parser more robust

Currently text will never parse past "{{{" or "\033[".
This causes issues if you have partial versions of either
these embeded in otherwise meaningful lines. So we'd like
to not give up on the whole line just because one part
looks a bit funny.

This change makes text consume everything upto a regular
expression which matches the parts of text that can actully
be parsed.

Change-Id: I5ed22d6d8cf5cc53fe5dcc5687ec87e13e9144e9
4 files changed
tree: afc07d0aa6a3e234e01989ce559edbc3cfbecce3
  1. cmd/
  2. elflib/
  3. gndoc/
  4. symbolize/
  5. .gitignore
  6. Gopkg.lock
  7. Gopkg.toml
  8. LICENSE
  9. manifest
  10. PATENTS
  11. README.md
README.md

tools

This repo contains tools used in Fuchsia build and development.

Go packages from here are automatically built and uploaded to CIPD and Google Storage by bots using the tools recipe. To add a tool to the build:

  • Edit the bot config.
  • Find the builder_mixins section with name: "tools".
  • Edit the JSON in properties_j to add a string to the packages list:
"fuchsia.googlesource.com/tools/cmd/your-new-tool"