Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8189800

Add support for AddressSanitizer

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • None
    • infrastructure
    • b30
    • x86, x86_64
    • linux, os_x

      From https://github.com/google/sanitizers/wiki/AddressSanitizer

      AddressSanitizer (aka ASan) is a memory error detector for C/C++. It finds:
      - Use after free (dangling pointer dereference)
      - Heap buffer overflow
      - Stack buffer overflow
      - Global buffer overflow
      - Use after return
      - Use after scope
      - Initialization order bugs
      - Memory leaks

      It might be useful to update configure/makefiles to support building JDK with ASan.

      AddressSanitizer is available in gcc 4.8 and clang 3.1.

            asmotrak Artem Smotrakov
            asmotrak Artem Smotrakov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: