OS 5 does support trap patching, just not with a 'supported' mechanism. However, the techniques of using ARM code to patch calls through YAHM do work on most OS 5 devices. The web site with more info is http://yahm.Palmoid.com, IIRC.
-----Original Message----- From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> Subj: Re: stopping an app from starting up Date: Mon Jun 6, 2005 8:52 am Size: 1K To: "Palm Developer Forum" <[email protected]> > You are really only solving part of the problem, Palm programs can > be launched in many different ways, you are only catching normal > launches. Indeed. Although, strictly speaking, he doesn't have to do even that. If he catches all database creations and checks the created databases for viruses, then no virus known to his scanner can appear on the device - so, it doesn't really matter whether he scans on *any* kind of program execution or not. However, the users are used to the "scan on execution" function that the on-access scanners have in, e.g., Windows, so they demand that it is present. > To have a really effective solution you need to be able to stop > ALL the program lanches, not just the ones that generate the > notification that you are using. I don't think that this is possible. Before OS5, you could patch the system traps for SysAppLaunch and SysUIAppSwitch - but how to do it under OS5? > Catching all program launches is a much harder problem, especially > on OS 5, you should be able to do it, but it would probably > involve trapping some OS API calls. Any practical advice how exactly to do this on OS 5? Given that it doesn't allow system trap patching, I mean. Regards, Vesselin -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
