Home
last modified time | relevance | path

Searched refs:cur_desc (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Dmalloc_debug_qemu.cpp874 MallocDesc cur_desc; in qemu_instrumented_realloc() local
875 if (query_qemu_malloc_info(mem, &cur_desc, 2)) { in qemu_instrumented_realloc()
884 test_access_violation(&cur_desc); in qemu_instrumented_realloc()
890 if (mem != mallocdesc_user_ptr(&cur_desc)) { in qemu_instrumented_realloc()
891 log_mdesc(error, &cur_desc, "<libc_pid=%03u, pid=%03u>: realloc(%p, %zu) is invalid for ", in qemu_instrumented_realloc()
916 … log_mdesc(error, &cur_desc, "<libc_pid=%03u, pid=%03u>: realloc(%p, %zu): malloc(%zu) failed on ", in qemu_instrumented_realloc()
923 size_t to_copy = bytes < cur_desc.requested_bytes ? bytes : cur_desc.requested_bytes; in qemu_instrumented_realloc()
925 memcpy(new_mem, mallocdesc_user_ptr(&cur_desc), to_copy); in qemu_instrumented_realloc()
932 …log_mdesc(error, &cur_desc, " <- "); in qemu_instrumented_realloc()
944 …log_mdesc(error, &cur_desc, "<libc_pid=%03u, pid=%03u>: realloc(%p, %zu): notify_free failed for ", in qemu_instrumented_realloc()
[all …]