An error detection method and apparatus for a program utilizing a CNG library are disclosed. An error detection method for a program utilizing a CNG library includes hooking an evaluation target function included in an evaluation target error category in a program, constructing a linked list based on a memory address generated for the evaluation target function, Determining whether to release the memory address based on the memory address; And retrieving and deleting the memory address from the linked list if the memory address is not released.
展开▼