diff options
author | Christopher Ferris <cferris@google.com> | 2018-02-07 18:42:14 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-02-13 13:37:30 -0800 |
commit | db478a627482c73c52df9e3929fe7a39f03e4eeb (patch) | |
tree | 15fcd3caeea9269e5e3eefb881ec25bade966bcb /libc/stdio/stdio_ext.cpp | |
parent | 3374d0cabb973ff2b73ad8cd909389bdeed18658 (diff) |
Implement malloc hooks.
Use the malloc debug framework to implement the malloc debug hooks
since it can introduce a performance issue.
Also, modify the bionic/tests/utils.h slightly to dump an error message
when the exe failed.
Bug: 30561479
Test: Ran malloc hook unit tests.
Test: Ran malloc debug unit tests.
Test: Enabled malloc hooks and ran bionic unit tests and verified no
Test: unexpected failures.
Test: Enabled malloc debug and malloc hooks and verified malloc debug wins.
Test: Enabled malloc debug using env, property, and property with name
Test: still works.
Change-Id: Ib50046a0493c5c2050cf831befb812310bdcc249
(cherry picked from commit d6a1dc23796696f73f483943534d4c5c4b312d39)
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions