summaryrefslogtreecommitdiff
path: root/tests/stack_protector_test.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2013-05-21 17:48:01 -0700
committerChristopher Ferris <cferris@google.com>2013-06-07 14:55:32 -0700
commit885f3b9cad01b8158aadc55c159c17dbf34f622c (patch)
tree55991f909d2a12f185c0773de57cdf01b7074ecd /tests/stack_protector_test.cpp
parentb7b4f5b838cd41407c734af74e8211f5c7da0036 (diff)
Implement malloc_usable_size for debug impls.
- Implemented chk_memalign. - Fixed a few bugs in leak_memalign. - Implemented {leak,fill,check,qemu}_malloc_usable_size. - Make malloc_usable_size update at run time. - Add malloc_test.cpp as a small set of tests for the malloc debug routines. - Fix the qemu routines since it's been broken since it moved to C++. - Add support for the %u format to the out_vformat in libc_logging.cpp. This is used by the emulator code. Tested using the bionic-unit-tests with setprop libc.debug.malloc set to 1, 5, and 10. I tested as much as possible on the emulator, but tracing doesn't appear to be working properly. Bug: 6143477 Merge change from internal master. (cherry-picked from commit 3d594c258045783fc9e1956ce7a4d91e302f011e) Change-Id: I4ae00fffba82315a8c283f35893fd554460722fb
Diffstat (limited to 'tests/stack_protector_test.cpp')
0 files changed, 0 insertions, 0 deletions