reading objects of a dead image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

reading objects of a dead image

michal-list

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

Reply | Threaded
Open this post in threaded view
|

Re: reading objects of a dead image

K K Subbu
On Saturday 14 May 2011 6:37:21 PM Michal wrote:
> 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:
See the thread

http://lists.squeakfoundation.org/pipermail/vm-dev/2010-August/005242.html

HTH .. Subbu