https://bugs.kde.org/show_bug.cgi?id=407589

            Bug ID: 407589
           Summary: [Linux] Add support for C11 aligned_alloc() and GNU
                    reallocarray()
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: y...@droneaud.fr
  Target Milestone: ---

According to
http://www.valgrind.org/docs/manual/mc-manual.html#mc-manual.together

"Memcheck intercepts calls to malloc, calloc, realloc, valloc, memalign, free,
new, new[], delete and delete[]"

It should be noted Valgrind has support for more calls than listed in
documentation, namely:

- posix_memalign()
- pvalloc()
- valloc()

But it doesn't have explicit support for C11 aligned allocation function:

- void *aligned_alloc (size_t alignment, size_t size);

  http://man7.org/linux/man-pages/man3/reallocarray.3.html

And GNU reallocate array function:

- void *reallocarray (void *ptr, size_t nmemb, size_t size);

  http://man7.org/linux/man-pages/man3/reallocarray.3.html

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to