delve/service/api
Alessandro Arzilli bec6a65b15
proc,prettyprint: guard against autodereferenced escaped pointers (#1077)
Much like the bug in issue #1031 and commit
f6f6f0bf13e4c708cb501202b83a6327a0f00e31 pointers can also escape to
the heap and then have a zero address (and no children) when we
autodereference.

1. Mark autodereferenced escaped variables with a 0 address as
   unreadable.
2. Add guards to the pretty printers for unsafe.Pointer and pointers.

Fixes #1075
2018-01-19 15:50:28 +01:00
..
conversions.go pkg/terminal: print DWARF location expression with whatis 2017-12-20 16:34:47 -08:00
prettyprint.go proc,prettyprint: guard against autodereferenced escaped pointers (#1077) 2018-01-19 15:50:28 +01:00
types.go pkg/terminal: print DWARF location expression with whatis 2017-12-20 16:34:47 -08:00