<div dir="auto">Unfortunately I have to chase some pointers, which are pointing to a class having virtual functions.<div dir="auto">I'm stuck for now, probably messed up some casts? Ah, writing pretty printers is dark magic. </div><div dir="auto"><br></div><div dir="auto">Yes, I planed to make use of the other printers as well as the default one. </div><div dir="auto">It's not working yet though. </div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri, Aug 7, 2020, 00:24 Sterling Augustine <<a href="mailto:saugustine@google.com">saugustine@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">On Thu, Aug 6, 2020 at 2:16 PM Balázs Benics <<a href="mailto:benicsbalazs@gmail.com" target="_blank" rel="noreferrer">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>
</blockquote></div></div>