Patent ID: 9612886
Date: 2017-04-04
CPC Classifications: G06F

Claim:
1. A method for monitoring API function invoking in a mobile terminal, comprising: preconfiguring at least one to-be-monitored Application Programming Interface (API) function and a response event corresponding to each of the at least one to-be-monitored API function; configuring one monitoring module for the at least one to-be-monitored API function; obtaining current monitoring data output by a sending function monitoring module in real time; and performing, by the monitoring module, monitoring processing corresponding to one response event in response to determining that the current monitoring data satisfy the response event; wherein the sending function monitoring module comprises a module for monitoring an object message sending (objc_msgSend) function; and obtaining the current monitoring data output by the sending function monitoring module in real time comprises: obtaining an object method corresponding to each sending operation of the object message sending function in real time.