Re: [Expect] exp_spawn failed on Windows 2003 with DEP (Data Execution Prevention)
by David Gravereaux other posts by this author
Dec 19 2007 4:52PM messages near this date
view in the new Beta List Site
Re: [Expect] exp_spawn failed on Windows 2003 with DEP (Data Execution Prevention)
|
Re: [Expect] exp_spawn failed on Windows 2003 with DEP (Data ExecutionPrevention)
Yaron Peryanty wrote:
> This is not so good for me since the DEP should be enabled on *all*
> applications.
There is the rub!
Expect runs a spawned child in the system debugger to set break points
on it calling the Win32 Console API functions. By having DEP on,
disallows the ability to set breakpoints and intercept it writing to the
Console.
Yaron, you might consider talking to Jeff Hobbs about rewriting Expect's
trap method to use a Microsoft research project called 'Detours'. The
problem is there would be no guarantee of success if you ventured down
that path. Whether Detours is susceptible to DEP should be your first
question to anyone beginning with such a modification.
http://research.microsoft.com/sn/detours/
_______________________________________________
Expect mailing list
Expect@[...].com
http://listserv.ActiveState.com/mailman/listinfo/expect
Thread:
Yaron Peryanty
David Gravereaux
David Gravereaux
Larry W. Virden
Yaron Peryanty
Larry W. Virden
Yaron Peryanty
David Gravereaux
|