debug.c (verify_heap, dump_heap_at): Avoid SIGSEGVing.
authorMatt Birkholz <puck@birchwood-abbey.net>
Fri, 29 Jan 2016 19:46:44 +0000 (12:46 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Wed, 3 Feb 2016 00:08:15 +0000 (17:08 -0700)
commit88e2ac8c48d5ca379ac31dcb17b4687037bea9c3
tree296d4aed92bf9b6f53995dacab5340ec25a3228b
parentdf0e566797443ab79cfa4daa04ffbc03171e86d0
debug.c (verify_heap, dump_heap_at): Avoid SIGSEGVing.

Check that all pointers and block offsets are valid heap addresses
before following them.  Do not dump words past Free (in bogus objects
at the end of the heap).
src/microcode/debug.c