prometheus icon indicating copy to clipboard operation
prometheus copied to clipboard

Fuzz test Prometheus APIs

Open fabxc opened this issue 10 years ago • 13 comments

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.

fabxc avatar May 02 '15 17:05 fabxc

@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.

arnopo avatar Feb 08 '24 15:02 arnopo

@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.~

pdgendt avatar Feb 08 '24 16:02 pdgendt

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:~$

arnopo avatar Feb 08 '24 16:02 arnopo

Ping @jakub-uC as you are the assignee.

pdgendt avatar Feb 27 '24 09:02 pdgendt