Skip to content

Commit ada1e2f

Browse files
committed
[lldb/examples] Add missing declaration in heap.py
Add missing declaration for `malloc_get_all_zones` in heap.py. Differential Revision: https://reviews.llvm.org/D88158
1 parent 296d883 commit ada1e2f

File tree

1 file changed

+1
-0
lines changed
  • lldb/examples/darwin/heap_find

1 file changed

+1
-0
lines changed

lldb/examples/darwin/heap_find/heap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def get_iterate_memory_expr(
129129
void *reserved1[12];
130130
struct malloc_introspection_t *introspect;
131131
} malloc_zone_t;
132+
kern_return_t malloc_get_all_zones(task_t task, memory_reader_t reader, vm_address_t **addresses, unsigned *count);
132133
memory_reader_t task_peek = [](task_t task, vm_address_t remote_address, vm_size_t size, void **local_memory) -> kern_return_t {
133134
*local_memory = (void*) remote_address;
134135
return KERN_SUCCESS;

0 commit comments

Comments
 (0)