printing struct array in lldb python
问题 Following the question here: Writing a Python script to print out an array of recs in lldb I would like to be able to create a type summary for an array of a given struct in lldb. Problem is that I am not able to access array correctly through python-lldb. Some data is incorrect. I have the following test code in C: #include <stdio.h> #include <stdlib.h> struct Buffer { struct Buffer* next; struct Buffer* prev; }; struct Base { struct Buffer* buffers; int count; }; void fill(struct Buffer*