History log of /system/bt/osi/src/allocator.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3e59b5b6f2ce1295e3e2711afcd2cdf0dd7e22b6 01-Apr-2015 Etan Cohen <etancohen@google.com> Fix build issues in bluedroid on master

Change-Id: I0d3e93ea61dd03505fe9db902ed90bdd4141cab2
/system/bt/osi/src/allocator.c
0f9b91e150e153229235c163861198e23600e636 12-Mar-2015 Sharvil Nanavati <sharvil@google.com> Use fully qualified path for OSI includes.
/system/bt/osi/src/allocator.c
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/src/allocator.c
4ed68b407ee836df7780a00d6b50b081b334c3ab 30-Aug-2014 Zach Johnson <zachoverflow@google.com> Modify allocation tracking to include and verify the allocation source

This will help detect and prevent allocator alloc/free mismatch.
/system/bt/osi/src/allocator.c
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/src/allocator.c
56f3460b37bb8d2c1f2717e7977d5803b80481d1 28-Aug-2014 Zach Johnson <zachoverflow@google.com> Make osi_strdup report allocation size correctly
/system/bt/osi/src/allocator.c
0812fe36ddd585db9f08c725904d14b74714368d 27-Aug-2014 Zach Johnson <zachoverflow@google.com> Add strdup to tracked allocations
/system/bt/osi/src/allocator.c
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/src/allocator.c
dcbfea8f812315c93568ef1fccf429fbaa03ce82 16-Aug-2014 Zach Johnson <zachoverflow@google.com> Add an allocator interface + default malloc allocator
/system/bt/osi/src/allocator.c