Safe and efficient allocation of memory
AssigneeMicrosoft Corporation
InventorsRichard Shupak, Landy Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsRichard Shupak, Landy Wang
Estimating the term…
Aspects of the present invention are directed at centrally managing the allocation of memory to executable images in a way that inhibits malware from identifying the location of the executable image. Moreover, performance improvements are implemented over traditional systems that enable relative addressed instruction to be resolved at runtime. In this regard, a method is provided that identifies a randomized location to load the executable image into a memory address space. Then, data that may be used to resolve the relative addressed instruction is loaded and maintained in memory. At runtime when pages that store relative addressed instructions are accessed, an arithmetic operation is performed to resolve the relative addressed instruction. As a result, only those relative addressed instructions on pages accessed during program execution are resolved.
In a computer configured to load pages of data from an executable image into a memory, a method of resolving a relative addressed instruction in the executable image at runtime, the method comprising:
A computer-readable storage medium containing computer-readable instructions which, when executed in a computer with an operating system that supports on demand paging, performs a method comprising:
A computer-readable storage medium having computer executable components for allocating a memory address space to executable images, comprising:
Dependencies are inferred from the claim text.