Hook re-entry prevention device and recording medium, in which program for executing method thereof in computer is recorded thereon
AssigneeFasoo.Com Co., Ltd
InventorHyung-Joo Lee
Life of this patent
Estimating the term…
Loading patent…
AssigneeFasoo.Com Co., Ltd
InventorHyung-Joo Lee
Estimating the term…
Disclosed are a hook re-entry prevention device and a recording medium, in which a program for executing the method thereof in a computer is recorded thereon. A state information management module sets or releases a state information flag which indicates whether a hook function is called. If the state information flag is set when the hook function is called, a re-entry prevention module determines that the calling of the hook function has been conducted from the inside of a hook layer and returns a value to a system layer. According to the present invention, an entry/breakaway layer which is independent from the hook layer functions in such a manner that the hook layer is safely isolated from the hook, thereby preventing hook re-entry caused by the callback of an original function of a lower function while a hook routine within the hook layer is performed during a dynamic API hooking.
A hook re-entry prevention device for preventing hook re-entry that is defined as recursive execution of a hook that is code used to execute hooking upon dynamic API hooking, the device comprising:
A computer-readable recording medium recording a program for executing, on a computer, a method of preventing hook re-entry that is defined as recursive execution of a hook that is code used to execute hooking upon dynamic API hooking, the method comprising:
Dependencies are inferred from the claim text.