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 14:48:34 -0800
commit62e1e2c7e34a81dd20c6b2e75544eac72ab07d05 (patch)
tree815ef4135c963db34eace4100d9fa3ae2b48a424 /libc/malloc_hooks/malloc_hooks.cpp
parent1d3c56bc308c34217e36def4b408d8bae390924e (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 Merged-In: I3f66da395414586a3fa87874d80dcdf5f702ed39 (cherry picked from commit 77184aedaf973c6e81accfc737f4fc362dad31ac)
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions