408ffb6006319c2db1812c1572b04859d7b366eb |
|
13-Nov-2014 |
Chris Manton <cmanton@google.com> |
Explicitly add include paths Allocation test harness included relatively local header allocation_tracker.h. Change to include absolute header location from bluedroid root.
/system/bt/osi/test/AllocationTestHarness.cpp
|
c0745da4fb23eea23abac3c3cfd51cc7f1d38f6d |
|
13-Nov-2014 |
Sharvil Nanavati <sharvil@google.com> |
Enable allocation tracking for eng and userdebug builds. This change will result in a constant increase in memory utilization per allocation but will help us catch memory errors earlier.
/system/bt/osi/test/AllocationTestHarness.cpp
|
f947fdddf5de6bd30886688a2b399460a3d95ecc |
|
28-Aug-2014 |
Zach Johnson <zachoverflow@google.com> |
Add memory canaries and turn them on for unit tests This will allow us to verify with resonable certainty that the code is not writing past the end or beginning of the memory allocation that it was given. With canaries on, the canaried pointers returned by the osi alloc functions are no longer passable directly to free, since they must be offset to get the real allocation pointers. This means all legacy code must be converted over to the osi alloc functions before turning canaries on in the wider codebase.
/system/bt/osi/test/AllocationTestHarness.cpp
|
3b72a14c2515c1169d5501ada5499cf232fc643b |
|
26-Aug-2014 |
Zach Johnson <zachoverflow@google.com> |
Implement memory allocation tracker Provides an interface to track memory allocations, and assert bad things like double frees don't happen.
/system/bt/osi/test/AllocationTestHarness.cpp
|