Patent ID: 11868747

Abstract:
Various methods, apparatuses/systems, and media for dynamic code analysis using aspect oriented programming (AOP) are disclosed. A processor (i) creates a list of all method names associated with an application before launching the application and writes into a file; (ii) at runtime, reads the method names from the file into a hash set and using AOP load time weaving, each time a method is invoked, pointcut around the execution of the method to remove method name from the hash set in memory; (iii) periodically overwrites the file with a dump of current entries in the hash set for fault tolerance; (iv) for every subsequent restart of the application, the processor repeats from processes (ii) and (iii). After running processes (i)-(iv) for a predetermined time period (a month, a quarter etc.), the processor creates a final with methods that have not been invoked for potential deletion.