Patent ID: 9658867
Date: 2017-05-23
CPC Classifications: G06F

Claim:
1. A method of preserving storage of object code translations of a library for future reuse by an emulator, comprising: intercepting a munmap( determining if the mapped library memory address corresponds to a library text or library data; if the mapped library memory address corresponds to the library text, flagging said entry as inactive in the first predefined data structure, and preserving storage of an object code translation of the library text in the mapped memory address for future reuse by the emulator; if the mapped library memory address corresponds to the library data, resetting contents of the mapped address to zero; intercepting a future mmap( for the library text, flagging the entry as active and providing the mapped library memory address associated with the entry and corresponding to the library text to the application; and for the library data, executing a native mmap(