主权项 |
1. A method, comprising:
identifying a reference that references a version of a function, the version of the function belonging to a version of a dynamically loaded library (DLL) from a plurality of versions of the DLL loaded into a memory area; dynamically generating a hook-entry code associated with the version of the function; and replacing the reference with the hook-entry code, wherein execution of the hook-entry code is configured to provide a version identifier in response to receiving a return address associated with the reference, the version identifier being configured to uniquely identify the version of the DLL. |