This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: new core files
- To: Egor Duda <deo@logos-m.ru>
- Subject: Re: new core files
- From: Chris Faylor <cgf@cygnus.com>
- Date: Sun, 9 May 1999 11:20:51 -0400
- Cc: cygwin-developers <cygwin-developers@sourceware.cygnus.com>
- References: <15662.990509@logos-m.ru>
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