<div dir="ltr"><div dir="ltr">On Thu, Aug 6, 2020 at 2:16 PM Balázs Benics <<a href="mailto:benicsbalazs@gmail.com">benicsbalazs@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Unfortunately, I have to reimplement the dump functions of the complete SVal, MemRegion and SymExpr hierarchy.<br></div><div>Since those refer to other objects, like a FunctionDecl.</div></div></blockquote><div><br></div><div>Just how much of a sub-object to dump is always a tricky call. Often the right call is at a pointer or reference boundary.</div><div><br></div><div>Note also that if you implement the children function of the gdb api for the top-level type, you will get any sub-pretty printers that exist for free. And if they don't exist, gdb will use its default printing mechanism, which is often good enough.</div></div></div>