[elflib] Add DT_SONAME reader

This currently uses go's built in stuff which tries to find things based
on sections and not program headers. We'll eventully want to use program
headers but doing this now will work and saves us a lot of time.

Test: Ran a real fuchsia binary though this using the disabled test in elflib
Change-Id: Ibb29dd17417f80cf16dcdad42dd00fed0bcfb831
2 files changed
tree: ecf406f7d87a56c77f52194aa3f3e81e3f7476bd
  1. artifacts/
  2. bloaty/
  3. botanist/
  4. build/
  5. buildbucket/
  6. cache/
  7. cmd/
  8. color/
  9. command/
  10. digest/
  11. elflib/
  12. fastboot/
  13. gcs/
  14. gndoc/
  15. isatty/
  16. logger/
  17. mdns/
  18. netboot/
  19. netutil/
  20. ninjalog/
  21. qemu/
  22. resultstore/
  23. retry/
  24. runner/
  25. runtests/
  26. secrets/
  27. serial/
  28. sshutil/
  29. symbolize/
  30. tap/
  31. telnet/
  32. testrunner/
  33. testsharder/
  34. tftp/
  35. .gitignore
  36. go.mod
  37. go.sum
  38. LICENSE
  39. manifest
  40. PATENTS
  41. 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"