CPC G06F 21/563 (2013.01) [G06F 9/54 (2013.01); G06F 21/54 (2013.01); G06F 2221/032 (2013.01)] | 20 Claims |
1. An analysis function imparting device comprising:
processing circuitry configured to:
execute a script on a script engine of an operating system or an application running on the operating system while monitoring the script engine to acquire an execution trace including an application programming interface (API) trace and a branch trace;
analyze the execution trace, and detect a hook point that is a location to which a hook is applied and a code for analysis is inserted;
detect, based on monitoring at the hook point, a tap point that is a memory monitoring location at which the code for analysis outputs a log; and
apply the hook to the script engine to impart an analysis function to the script engine based on the hook point and the tap point.
|