paulfloyd / freebsd_valgrind

Git repo used to Upstream the FreeBSD Port of Valgrind
GNU General Public License v2.0
15 stars 4 forks source link

No intercepts for *allocx #182

Closed paulfloyd closed 1 year ago

paulfloyd commented 2 years ago

See

https://www.unix.com/man-page/FreeBSD/3/malloc/

or just man malloc

Also out of interest, what does

       "opt.junk" (bool) r- [--enable-fill]
       Junk filling enabled/disabled. If enabled, each byte of uninitialized allocated memory will be initialized to 0xa5. All deallocated
       memory will be initialized to 0x5a. This is intended for debugging and will impact performance negatively. This option is disabled by
       default unless --enable-debug is specified during configuration, in which case it is enabled by default unless running inside
       Valgrind[2].

do?

I don't understand any of the jemalloc Valgrind stuff. When running under memcheck, malloc and family are replaced.

paulfloyd commented 1 year ago

I did contact the jemalloc floks and they have no plans to restore Valgrind support.