Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the event path from user to application?



Forgot the reference..

[1]: http://www.cs.wisc.edu/~bart/fuzz/fuzz.html

On Oct 16, 2005, at 12:53 PM, Gregory Cooksey wrote:

Hi,

I've been reading through a lot of documentation on Apple's web site, but I haven't been able to get a grip on the overall event pathway from a user's key strokes or mouse input to the application's event handler. I am trying to write a fuzz testing system for OS X [1] and need to find a way to insert user interface events into an arbitrary application. My understanding is that it isn't possible for one application to post a Carbon event to another application, so I was looking at using mach_inject to insert a thread into my target and post events to the queue from the inserted thread. I am concerned that this would only work with Carbon applications. I've been trying to dig a bit deeper, and found a reference to a mach event port, but have thus far been unable to figure out any more about that.

Is there documentation available anywhere about how the system processes events and sends them to a user application? Am I asking this on the right mailing list? If not, where should I direct my questions?

Thanks for any help you can give me.

-Greg



_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >What is the event path from user to application? (From: Gregory Cooksey <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.