Lines Matching refs:malloc

10 The documentation for malloc debug on older versions of Android is
13 When malloc debug is enabled, it works by adding a shim layer that replaces
16 * `malloc`
105 Note that any backtrace frames that occur within the malloc backtrace library
125 malloc/free occurs.
304 pointer = malloc(size)
306 **THREAD\_ID**: malloc pointer size
310 186: malloc 0xb6038060 20
380 free/malloc\_usable\_size/realloc calls are passed valid pointers.
393 malloc\_usable\_size, realloc.
398 When malloc debug detects an error, abort after sending the error
406 in Android P and older, enabling malloc debug would result in this message
409 08-16 15:54:16.060 26947 26947 I libc : /system/bin/app_process64: malloc debug enabled
455 This indicates that a function (malloc\_usable\_size) was called with
527 value is always accurate in v1.1. A previous version of malloc debug set
587 adb shell setprop libc.debug.malloc.options backtrace
592 adb shell setprop libc.debug.malloc.options backtrace
593 adb shell setprop libc.debug.malloc.program ls
599 adb shell setprop libc.debug.malloc.program app_process
600 adb shell setprop libc.debug.malloc.options backtrace
606 adb shell setprop libc.debug.malloc.options "\"backtrace guard\""
614 Enable malloc debug using an environment variable (pre-O Android release):
617 # setprop libc.debug.malloc.env_enabled 1
618 # setprop libc.debug.malloc.options backtrace
622 Enable malloc debug using an environment variable (Android O or later):
628 Any process spawned from this shell will run with malloc debug enabled
632 adb shell setprop libc.debug.malloc.options backtrace
644 for the best way to use malloc debug in Android O or later on non-rooted
647 If you do have a rooted device, you can enable malloc debug for a specific
657 For example, to enable malloc debug for the google search box (Android O or later):
664 (`adb logcat -d | grep "malloc debug"`):
666 08-16 15:54:16.060 26947 26947 I libc : /system/bin/app_process64: malloc debug enabled
685 Without also enabling malloc debug, this command will only tell
687 occurring. If you enable malloc debug with the backtrace option for your