On 10/8/19 9:00 AM, shuah wrote:
On 10/8/19 6:16 AM, Dmitry Vyukov wrote:
On Tue, Oct 8, 2019 at 1:46 PM Dmitry Vyukov dvyukov@google.com wrote:
Hi Shuah,
We discussed collecting and uploading all syzkaller reproducers somewhere. You wanted to see how they look. I've uploaded all current reproducers here: https://github.com/dvyukov/syzkaller-repros Minimalistic build/run scripts are included. +some testing mailing lists too as this can be used as a test suite If you have any potential uses for this, you are welcome to use it. But then we probably need to find some more official and shared place for them than my private github. The test programs can also be bulk updated if necessary, because all of this is auto-generated.
Thanks
+more people who expressed interest in the test suite before
Thanks for putting this together. I am going to create a repo on kernel.org t host these and pull your private git content in.
I will work on it this week and set things up.
Playing with the git getting ready to host it on kernel.org git repo. Build worked fine and I can't get the run.sh to work.
I expected it to run what is in
syzkaller-repros/bin
It doesn't seem to do that. Looks like it wants to build. Here is what I see. What am I doing wrong? I did a build which worked. There are some errors due to sys/cdefs.h missing.
++ for f in * +++ pwd ++ bin=/mnt/data/lkml/syzkaller-repros/bin +++ mktemp -d ++ dir=/tmp/tmp.S8CjM8muRj ++ cd /tmp/tmp.S8CjM8muRj ++ timeout -s KILL 3 /mnt/data/lkml/syzkaller-repros/bin timeout: failed to run command ‘/mnt/data/lkml/syzkaller-repros/bin’: Permission denied ++ rm -rf /tmp/tmp.S8CjM8muRj ++ for f in * +++ pwd ++ bin=/mnt/data/lkml/syzkaller-repros/build.sh +++ mktemp -d ++ dir=/tmp/tmp.zAVygWdpkt ++ cd /tmp/tmp.zAVygWdpkt ++ timeout -s KILL 3 /mnt/data/lkml/syzkaller-repros/build.sh linux/*.c grep: linux/*.c: No such file or directory gcc: error: linux/*.c: No such file or directory gcc: fatal error: no input files compilation terminated. ++ rm -rf /tmp/tmp.zAVygWdpkt ++ for f in * +++ pwd ++ bin=/mnt/data/lkml/syzkaller-repros/LICENSE +++ mktemp -d ++ dir=/tmp/tmp.hhcvgOc8RA ++ cd /tmp/tmp.hhcvgOc8RA ++ timeout -s KILL 3 /mnt/data/lkml/syzkaller-repros/LICENSE timeout: failed to run command ‘/mnt/data/lkml/syzkaller-repros/LICENSE’: Permission denied ++ rm -rf /tmp/tmp.hhcvgOc8RA ++ for f in * +++ pwd ++ bin=/mnt/data/lkml/syzkaller-repros/linux +++ mktemp -d ++ dir=/tmp/tmp.sM5UO7BHRB ++ cd /tmp/tmp.sM5UO7BHRB ++ timeout -s KILL 3 /mnt/data/lkml/syzkaller-repros/linux timeout: failed to run command ‘/mnt/data/lkml/syzkaller-repros/linux’: Permission denied ++ rm -rf /tmp/tmp.sM5UO7BHRB ++ for f in * +++ pwd ++ bin=/mnt/data/lkml/syzkaller-repros/README.md +++ mktemp -d ++ dir=/tmp/tmp.4Kkrs6iLP5 ++ cd /tmp/tmp.4Kkrs6iLP5 ++ timeout -s KILL 3 /mnt/data/lkml/syzkaller-repros/README.md timeout: failed to run command ‘/mnt/data/lkml/syzkaller-repros/README.md’: Permission denied ++ rm -rf /tmp/tmp.4Kkrs6iLP5 ++ for f in * +++ pwd ++ bin=/mnt/data/lkml/syzkaller-repros/run.sh +++ mktemp -d ++ dir=/tmp/tmp.YFx5WEOvJn ++ cd /tmp/tmp.YFx5WEOvJn ++ timeout -s KILL 3 /mnt/data/lkml/syzkaller-repros/run.sh + pwd + bin=/tmp/tmp.YFx5WEOvJn/* + mktemp -d + dir=/tmp/tmp.qD4i4g9qYR + cd /tmp/tmp.qD4i4g9qYR + timeout -s KILL 3 /tmp/tmp.YFx5WEOvJn/* timeout: failed to run command ‘/tmp/tmp.YFx5WEOvJn/*’: No such file or directory + rm -rf /tmp/tmp.qD4i4g9qYR ++ rm -rf /tmp/tmp.YFx5WEOvJn
thanks, -- Shuah