ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> expect
expect
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved