[roll] Roll fuchsia [debugger] Eval DW_OP_piece for unspecified data.

DW_OP_piece can accept no data in which case the bytes of the output are
said to be undefined.

This writes 0's to the data. This allows these expressions to be
evaluated but will be misleading if the undefined data is displayed.
Tracking that data is issue 79547.

Fix a bug in DwarfExprEval to clear the result data when it is
reinitialized. This was triggered by the added test. It is not triggered
normally because we normally create a new object for every expression.

Add an upper bound on the size of a piece to prevent runaway memory usage
on corrupt data.

Original-Bug: 79528
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/548221
Original-Revision: 3be465bb95d1b602675013471ec3cb3695bd8f62
GitOrigin-RevId: c87ece26455bfa8b8c82ba9269872aebcfeb3e55
Change-Id: I9c9ac5b94dcc067861bb81861dfb85366b7c9b0b
1 file changed
tree: b1a290d9a2c13794c86d8800731ffdc4ddf86974
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.