honggyukim / heaptrace

a tool that collects and reports heap allocated memory
GNU General Public License v2.0
13 stars 3 forks source link

libheaptrace: Trace reallocarray function #7

Closed Bojun-Seo closed 1 year ago

Bojun-Seo commented 1 year ago

Add reallocarray function to be traced reallocarray is a function in the OpenBSD C library and is not part of the standard C library

honggyukim commented 1 year ago

Hmm.. I don't have an environment to test reallocarray. Do you have any reason to add it to support FreeBSD?

Bojun-Seo commented 1 year ago

Hmm.. I don't have an environment to test reallocarray. Do you have any reason to add it to support FreeBSD?

Yes.. there are some binaries on webOS platform using reallocarray And I wish heaptrace could cover that binaries. llvm-project lsan and asan intercept reallocarray as well.