summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2019-02-04 12:26:02 -0800
committerChristopher Ferris <cferris@google.com>2019-02-07 10:26:22 -0800
commit77184aedaf973c6e81accfc737f4fc362dad31ac (patch)
treeb0b0f85a1fb3f2912d6409117aee4bf23092b0cf /libc/malloc_hooks/malloc_hooks.cpp
parent7680c41f2134ee72febe5562cb055731284518a7 (diff)
Modify malloc common function pointers.
Instead of every function being its own atomic, have a single pointer that can be used to flip all pointers at once. This avoid cases where the set of pointers can be in an partial switched state. Also fix a few inconsistent naming of functions in the file. Test: Ran unit tests (malloc debug, malloc hooks, perfetto). Change-Id: I3f66da395414586a3fa87874d80dcdf5f702ed39
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions