commit | a85b42b68eb03286bedd47bd2e838422d7c0aef4 | [log] [tgz] |
---|---|---|
author | Aditya Chitnis <chitnis@google.com> | Thu Mar 02 01:08:54 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 02 01:08:54 2023 +0000 |
tree | e839775a954b50c90180f7b443d16431a4d7c918 | |
parent | 0a0d1b2b4c63742ccda9a633c4bbe28e22f38bdc [diff] |
pw_trace: Add error handling + tests for structs Add error handling and supporting tests for incorrect buffer sizes when decoding general structs in pw_trace Bug: 269176238 Test: trace_test.py passes, using test-driven development Change-Id: Ia3c5ce10171d71230f7e2621ed9ccbd6f44239a4 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/128996 Reviewed-by: Alexei Frolov <frolv@google.com> Reviewed-by: Victor Berchet <berchet@google.com> Commit-Queue: Aditya Chitnis <chitnis@google.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/.