Patent ID: 8429744
Filing Date: 2013-04-23
Classification: G06F

Abstract:
1. A computer-implemented method to detect malformed arguments in a function by hooking a generic object, comprising: identifying, by a processor, a predetermined argument to monitor; detecting, by the processor, an activity associated with a calling of a function to produce a called out function, the called out function comprising an invoke function; mapping, by the processor, the called out function to a class identification of an object that called the function; determining, by the processor, that the class identification of the object corresponds to an interface that created the object; upon determining that the class identification of the object corresponds to the interface that created the object, comparing, by the processor, an argument in the called out function with the predetermined argument; when a match exists, recording, by the processor, a virtual method table identification for the called out function; reporting, by the processor, the match between the argument in the called out function and the predetermined argument; and reporting an identity of the object and the called out function.