qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Fuzzing event loops
@ 2017-06-11 10:47 Stefan Hajnoczi
  2017-06-26 20:53 ` [Qemu-devel] [Qemu-block] " John Snow
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2017-06-11 10:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu block

I wanted to share this idea about fuzzing event loops:

https://blog.acolyer.org/2017/06/09/node-fz-fuzzing-the-server-side-event-driven-architecture/

The idea is to expose ordering dependencies and atomicity bugs in
event loop callbacks/coroutines by randomly shuffling the order in
which fd handlers, timers, etc execute.

I'm not sure we'd find many bugs since QEMU tends to use big locks or
request serialization when concurrency gets tricky in the block layer.
Still, it's an interesting concept that we could apply in the future.

Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-05 12:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-11 10:47 [Qemu-devel] Fuzzing event loops Stefan Hajnoczi
2017-06-26 20:53 ` [Qemu-devel] [Qemu-block] " John Snow
2017-07-05 12:47   ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).