摘要 |
<p>Disclosed are a method and device for use in intercepting a call for a service by an application in an operating system. The method comprises: loading an interception dynamic-link library to a process where the service is at; replacing the address of an input/output control function in the process with a first address of the interception dynamic-link library; when the application is calling the service, executing the interception dynamic-link library on the basis of the first address to acquire the name and information of the application and information of the call, and replacing the address of the service-to-be-called and comprised in the information of the call with a second address of the interception dynamic-link library; displaying the information of the application and the information of the call on the basis of the second address, and executing the process on the basis of a selection with respect to the call on an electronic device via the operating system. The present invention increases the security of the operating system of the electronic device.</p> |