1. A method for facilitating replacement of a system call in an application with a customized function call, comprising: modifying the application's executable file by re-linking the executable file with additional code or dynamically injecting during run time the additional code to the executable file; wherein the additional code can change a pointer in a table which indicates addresses of imported functions so that the pointer indicates an address of the customized function call.