LINUX: Fix remote pid re-attach bug

When pid from file flag was used and remote pid
has been updated (new pid read from file), static
boolean flag will never change preventing reapChild
from attaching to new pid.

Slightly modify the logic to attach again to long-lived
process when new pid detected.

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