This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Thread Injection + Cygwin problems

Christopher Faylor wrote:
On Mon, Jun 19, 2006 at 06:11:57PM -0500, mwoehlke wrote:
Kaveh Goudarzi wrote:
I've written a program to detect the invocation of processes and then
inject them with a remote thread in the hope of getting the cmdLine/cwd
and environment variables of the running process.
I'm not sure how to approach the problem so any advice would be greatly

Is there an obvious reason why attempting to invoke cygwin calls such
as getenv() in an injected thread might result in crashes?  I've also
tried cygwin_internal(CW_SYNC_WINENV) with the same result.  I'm
running Windows XP and have tried the 20060614 snapshot with the same
There are known problems with thread injection and Cygwin.  Are you
using the latest cygwin.dll snapshot?

He said he was running the latest version of the snapshot (I put back the part that you snipped above).

Missed that; my apologies.

The hippo made me do it! What? What do you mean you can't see the hippo?

-- Unsubscribe info: Problem reports: Documentation: FAQ:

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