fuzzing: add nbgl_page self-fuzz target
New sdk-fuzz target `fuzz_nbgl_page` exercising the NBGL page/layout
construction layer (lib_nbgl/src/nbgl_page.c + nbgl_layout.c). That layer is
compiled from source and instrumented, while the display/HAL layer stays
mocked (fuzzing/mock/nbgl).
The harness builds a fuzzed nbgl_pageContent_t from the input tail and drives
three entry points:
- nbgl_pageDrawGenericContent with 6 content types (TAG_VALUE_LIST,
SWITCHES_LIST, INFOS_LIST, CHOICES_LIST, BARS_LIST, CENTERED_INFO)
- nbgl_pageDrawInfo
- nbgl_pageDrawConfirmation
Strings are carved from the tail into a bounded pool and item arrays are
clamped. No new link deps: secure_sdk already pulls in nbgl + the HAL mock. I
Ilya Artemov committed
8f94db5c9ad1ae1deae58c9b2843fb079a5fb847
Parent: 103b260