Implement Android Linux PTRACE support

* Fork upstream libunwind and cross-compile with Android NDK
* libunwind is also used for proc symbol resolve instead of bfd
* Replace BDF lib with capstone for disassembling actions
* Engineer build & patch scripts to support Android ARM, ARM64, x86, x86_64
* Rename linux/ptrace.* to linux/ptrace_utils.* since it conflicts with Android platform includes for ptrace API
* Wrap register & instruction sizes under macros to reflect sizes for supported CPU arch (makes debugging easier)
* Add / Implement missing definitions / functions for Android
* Improve Android build process
12 files changed
tree: 55377d578fdb32faea092ab84749238954b7996f
  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. COPYING
  14. files.c
  15. files.h
  16. fuzz.c
  17. fuzz.h
  18. honggfuzz.c
  19. log.c
  20. log.h
  21. Makefile
  22. mangle.c
  23. mangle.h
  24. README.md
  25. report.c
  26. report.h
  27. util.c
  28. util.h
README.md

honggfuzz

Description

Code

Requirements

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

Other

This is NOT an official Google product.