[squeak-dev] reading objects of a dead image

Michal michal-list at auf.net
Sat May 14 13:07:21 UTC 2011


hi - 

I have a dead image (its end is chopped off and lost), and I would
like to open it as a file from a "rescuer" image, in order to read all
the objects of the dead image from there. I remember having done that
a few years ago, but somehow I am getting stuck now. So does anyone
have a quick pointer to any of:

- how to find the adress of the first object in the image, ie after
  the special objects array

- how to read the various bits of each object header (particularly its
  class)

- how to get #nextObject in the dead image, given the address of an
  object in that image.

thanks, 
Michal



More information about the Squeak-dev mailing list