Preserving object code translations of a library for future reuse by an emulator
Provided is a method of preserving object code translations of a library for future reuse by an emulator. A munmap(2) system call is intercepted from an application for unmapping a mapped library memory address. A determination is made if an entry related to the mapped library memory address is pres...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Provided is a method of preserving object code translations of a library for future reuse by an emulator. A munmap(2) system call is intercepted from an application for unmapping a mapped library memory address. A determination is made if an entry related to the mapped library memory address is present in a first predefined data structure. If said entry is present, a determination is made if the mapped library memory address corresponds to a library text or library data. If the mapped memory address corresponds to the library text, said entry is flagged as inactive in the first predefined data structure, and an object code translation of the library text is preserved in the mapped library memory address. If the mapped library memory address corresponds to the library data, contents of the mapped address are reset to zero. |
---|