Comment #7 on issue 379 by [email protected]: Leak sanitizer support for Android on arm64
https://code.google.com/p/address-sanitizer/issues/detail?id=379

For the record, I've recently added a new interface function which allows multiple leak checks:

// Check for leaks now. Returns zero if no leaks have been found or if leak
  // detection is disabled, non-zero otherwise.
  // This function may be called repeatedly, e.g. to periodically check a
// long-running process. It prints a leak report if appropriate, but does not
  // terminate the process. It does not affect the behavior of
  // __lsan_do_leak_check() or the end-of-process leak check, and is not
  // affected by them.
  int __lsan_do_recoverable_leak_check();

1. Make lsan work on AArch64 Linux. I don't know the status of this, but it should be easy to accomplish.

Recently this was done for MIPS. I invite you (vairavans) to take a look at those patches to get an idea of the scope of work. Basically you will have to: - port stoptheworld (reimplementing internal_clone() will probably be the bulk of this),
- port the TLS discovery code,
- pick up a few platform-dependent bits and pieces in lsan_common.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to