Perf + armcap fixes

* Perf is setting 'exclude_callchain_kernel' flag which requires kernels >= 3.7.
   Detect old kernels and abort archInit() if not compatible.
   TODO: See if disabling that flag at runtime for non-compatible kernels affects perf operations

* For ARM kernels running Android API <= 21, if fuzzing target links to
  libcrypto (OpenSSL), OPENSSL_cpuid_setup initialization is triggering a
  SIGILL/ILLOPC at armv7_tick(). Setups using BoringSSL (API >= 22) are
  not affected.

Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
2 files changed
tree: a75f9428a226a5839c6fbeb2180935a811cf0bde
  1. android/
  2. docs/
  3. examples/
  4. interceptor/
  5. linux/
  6. mac/
  7. posix/
  8. third_party/
  9. .gitignore
  10. arch.h
  11. CHANGELOG
  12. common.h
  13. CONTRIBUTING
  14. COPYING
  15. display.c
  16. display.h
  17. files.c
  18. files.h
  19. fuzz.c
  20. fuzz.h
  21. honggfuzz.c
  22. log.c
  23. log.h
  24. Makefile
  25. mangle.c
  26. mangle.h
  27. README.md
  28. report.c
  29. report.h
  30. util.c
  31. util.h
README.md

honggfuzz

Description

Code

Requirements

  • Linux - BFD library (libbfd-dev) and LibUnwind (libunwind-dev/libunwind8-dev)
  • FreeBSD - gmake
  • Android - Android SDK/NDK

Other

This is NOT an official Google product.