On Thu, Feb 11, 2021 at 10:49 AM Jin Huang <
andy.j...@gmail.com> wrote:
>
> Hi, Dmitry
> Still a question , for example the log I select is:
> 08:55:49 executing program 1:
> r0 = epoll_create(0x800)
> syz_io_uring_setup(0x472e, &(0x7f0000000100), &(0x7f0000ffe000/0x1000)=nil, &(0x7f0000ffc000/0x1000)=nil, &(0x7f0000000180), &(0x7f00000001c0))
> epoll_wait(r0, &(0x7f0000000000)=[{}], 0x1, 0x0)
>
> 08:55:49 executing program 2:
> r0 = syz_io_uring_setup(0x61a1, &(0x7f0000000000)={0x0, 0x4ff, 0x1, 0x0, 0x32a}, &(0x7f0000ffc000/0x2000)=nil, &(0x7f0000ffc000/0x2000)=nil, &(0x7f0000000080), &(0x7f00000000c0))
> syz_io_uring_setup(0x3243, &(0x7f0000000100)={0x0, 0xd02d, 0x20, 0x3, 0x16e, 0x0, r0}, &(0x7f0000ffc000/0x3000)=nil, &(0x7f0000ffc000/0x4000)=nil, &(0x7f0000000180), &(0x7f00000001c0))
> clone(0x22102000, 0x0, 0x0, 0x0, 0x0)
> syz_io_uring_setup(0x2fa8, &(0x7f0000000200)={0x0, 0xd1a6, 0x0, 0x1, 0xf6, 0x0, r0}, &(0x7f0000ffc000/0x2000)=nil, &(0x7f0000ffc000/0x1000)=nil, &(0x7f0000000280), &(0x7f00000002c0))
>
> Could I generate the C program to run program1 and program2 on different threads? Or I need to generate for program1 and program2 separately and merge the program source code myself?
> Since I see the -threaded option for syz-prog2c, but not sure the effect.
Such functionality does not exist now. If you need exactly that, you