Il 16/04/2012 23:43, Anthony Liguori ha scritto: > For a 10 line test that enumerates the PCI device given the command line > argument? > > Here's the thing, I just looked through the code and spotted what I > think is a buffer overflow. It's hard to tell purely from code > inspection. With just a basic qtest harness, it makes it possible > to attempt to test whether or not you can overflow.
Something like what you attached is indeed a reasonable request, but I don't see why it could not be written by whoever spots the bug. You need to know the spec of the hardware anyway to set up descriptors etc. Paolo