Compiling fuzzer

electricworry worryelectric at gmail.com
Wed Jul 15 19:58:36 CEST 2020


On Wed, 15 Jul 2020 at 18:35, Alan DeKok <aland at deployingradius.com> wrote:
>   I did push a fix for fuzzer.c.

Thanks, that fixes my second issue. :)

>   You should be able to do:
>
> $ make fuzzer_radius
>
>   And then run it.

Ah yes, that works thank you! I was running make all as I took
"re-build *all* of the source" literally. I can confirm that (with
your latest push) I can build the fuzzers. Explicit steps for anyone
like me:

    $ make distclean
    $ ./configure CC=clang
    $ echo "CFLAGS += -fsanitize=fuzzer" >> Make.inc
    $ make fuzzer_radius && make fuzzer_dhcpv4 && make fuzzer_dhcpv6
    $ mkdir corp-radius
    $ scripts/build/fuzzer

Cheers!


More information about the Freeradius-Devel mailing list