pkg/compiler: make buffer alias to ptr[array[int8]]

Ptr type has special handling of direction (pointers are always input).
But buffer type missed this special case all the time.
Make buffer less special by aliasing to the ptr[array[int8]] type.
As the result buffer type can't have optional trailing "opt" attribute
because we don't have such support for templates yet.
Change such cases to use ptr type directly.

Fixes #1097
19 files changed
tree: b77571bea2cbc1baf320deae9895e1a185670a4b
  1. dashboard/
  2. docs/
  3. executor/
  4. Godeps/
  5. pkg/
  6. prog/
  7. sys/
  8. syz-ci/
  9. syz-fuzzer/
  10. syz-hub/
  11. syz-manager/
  12. tools/
  13. vendor/
  14. vm/
  15. .clang-format
  16. .gitignore
  17. .golangci.yml
  18. .gometalinter.json
  19. .travis.yml
  20. AUTHORS
  21. CODE_OF_CONDUCT.md
  22. CONTRIBUTORS
  23. fuzz.yaml
  24. LICENSE
  25. Makefile
  26. README.md
README.md

syzkaller - kernel fuzzer

Build Status Go Report Card Coverage Status GoDoc License

syzkaller is an unsupervised coverage-guided kernel fuzzer.
Supported OSes: Akaros, FreeBSD, Fuchsia, gVisor, Linux, NetBSD, OpenBSD, Windows.

Mailing list: syzkaller@googlegroups.com (join on web or by email).

Found bugs: Akaros, Darwin/XNU, FreeBSD, Linux, NetBSD, OpenBSD, Windows.

Documentation

Initially, syzkaller was developed with Linux kernel fuzzing in mind, but now it's being extended to support other OS kernels as well. Most of the documentation at this moment is related to the Linux kernel. For other OS kernels check: Akaros, Darwin/XNU, FreeBSD, Fuchsia, NetBSD, OpenBSD, Windows, gVisor.

External Articles

Disclaimer

This is not an official Google product.