This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: new core files


On Sun, May 09, 1999 at 03:54:36PM +0400, Egor Duda wrote:
> The problem is to tell debug info from data segment by looking into
> process's virtual memory. The only way i know is to try to find out
> full path to dll or exe, which is mapped into given part of process's
> address space, and to extract segment info from the image. But the
> only "legal" way to do it, afaik, is to use microsoft's nt-only
> psapi.dll.

It's possible to do this by inspecting the tortuous chain of information
in memory.  There are hints of this in DejaNews but I've never seen actual
code which does this.

-chris

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]