On Tue, Dec 19, 2017 at 11:21 AM, Nickleman <
nclm...@gmail.com> wrote:
> Yes it seems to work now.
>
> bin/linux_amd64/syz-fuzzer:
>
> not a dynamic executable
>
>
> I ran it and the error is no longer seen.
> Thanks!
>
> What does CGO_ENABLED do?
CGO is Go's FFI for C code.
Go binaries are static by default. However, if CGO is used, then Go
binaries become dynamic (C code generally requires libc).
There is a single standard library package that uses CGO -- net, CGO
is used to get access to system DNS resolver. However, there is an
alternative, pure Go resolver implementation, which is usually enough,
but does not handle some weird corner cases that glibc's resolver can
handle. syzkaller does not need any of these weird corner cases and
does not use CGO itself, so we can just turn it off and then Go
binaries become static (read, reliably work on any linux
kernel/image).
I've mailed
https://github.com/google/syzkaller/pull/485