syzkaller on risc-v

Dmitry Vyukov dvyukov at google.com
Tue Jun 30 09:49:18 EDT 2020


On Tue, Jun 30, 2020 at 3:45 PM Andreas Schwab <schwab at suse.de> wrote:
> >> >> On Jun 30 2020, Dmitry Vyukov wrote:
> >> >>
> >> >> > KASAN would be a prerequisite for testing risc-v on syzbot.
> >> >>
> >> >> You need to implement the GCC support first.
> >> >
> >> > Interesting. Björn claimed KASAN works already.  And there is:
> >> >
> >> > commit 8ad8b72721d0f07fa02dbe71f901743f9c71c8e6
> >> > Author: Nick Hu
> >> > Date:   Mon Jan 6 10:38:32 2020 -0800
> >> >     riscv: Add KASAN support
> >> >
> >> > Is there any known issue with gcc?
> >>
> >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91441
> >>
> >> $ gcc -fsanitize=kernel-address -xc - </dev/null
> >> cc1: warning: ‘-fsanitize=address’ and ‘-fsanitize=kernel-address’ are not supported for this target
> >
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91441#c3
> > Fixed ;)
>
> Yes.  What's your point?

My point is that the GCC part seems to be implemented already and if
one wants to use KASAN, they don't need to implement GCC support
first. It looks like something on the kernel side broke since January.



More information about the linux-riscv mailing list