Fuzz test Prometheus APIs
Just found this new tool for Go: https://github.com/dvyukov/go-fuzz
Given that it found quite a few bugs in the standard library, we will certainly find some stuff in Prometheus. Especially as we are now using two text/template style parsers ourselves that might suffer from very similar bugs as the ones found in the stdlib.
@pdgendt : do you plan to add a sample that demonstrates the use of this shell? It would be nice to be able to test it.
@pdgendt : do you plan to add a sample that demonstrates the use of this shell? It would be nice to be able to test it.
I was thinking of adding an option to the existing samples/subsys/ipc/openamp_rsc_table, as this is what I've based my custom application on.
~It does still get stuck sometimes, which may be due to some thread safety issue, but I need to investigate further.~
Great job!
Need review but portable and simple to integrate in samples/subsys/ipc/openamp_rsc_table
I can use it on my stm32mp1 board
root@stm32mp15-disco:~# microcom /dev/ttyRPMSG0
tty:~$ kernel version
Zephyr version 3.6.0-rc1
tty:~$
Ping @jakub-uC as you are the assignee.