commit | 2ed7a41a5b66f12c5e6d20175186d6bab9420509 | [log] [tgz] |
---|---|---|
author | aarongreen <aarongreen@google.com> | Tue May 30 23:12:43 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 30 23:12:43 2023 +0000 |
tree | be29542b1f03d64d568946c703cf5126c0739832 | |
parent | f36fcd9b7ee313c7f74f48cdd443111ecc3b0ca1 [diff] |
pw_presubmit: Pass rng-seed to gn_fuzz_build This CL adds a new `modified_env` context manager, and uses it to set the FUZZTEST_PRNG_SEED that FuzzTest uses for seed material. It also adds a function to convert `PresubmitContext.rng_seed` to the URL-safe, base64-encoded value expected by FuzzTest. Change-Id: I9f6c8f80b77012821af15b86f0735e7bfc391cc3 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/149433 Reviewed-by: Rob Mohr <mohrr@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Aaron Green <aarongreen@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/.