commit | 0b52882d5ec5152ab82fd2a5b9d0d4f6e15b792a | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Oct 05 22:23:55 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 05 22:23:55 2023 +0000 |
tree | 74bc65655ed5457b876bb2b151f4e2b6b9872fe0 | |
parent | e0e17bf5022bd2a17a9c532f4c3c32400ee9861b [diff] |
pw_unit_test: Do not print contents of unknown objects Objects may contain uninitialized data (e.g. std::optional), which should not be accessed, even just to print the bytes. Fixes: b/303664953 Change-Id: I5427109fefde8c3f2df0a6d02065e55ac9648e7b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/174911 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Taylor Cramer <cramertj@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.