Compiler-directed Dynamic Linking for Mobile Programs

Loading...
Thumbnail Image

Files

CS-TR-3711.ps (206.31 KB)
No. of downloads: 259
CS-TR-3711.pdf (216.53 KB)
No. of downloads: 614

Publication or External Link

Date

1998-10-15

Advisor

Citation

DRUM DOI

Abstract

In this paper, we present a compiler-directed technique for safe dynamic linking for mobile programs. Our technique guarantees that linking failures can occur only when a program arrives at a new execution site and that this failure can be delivered to the program as an error code or an exception. We use interprocedural analysis to identify the set of names that must be linked at the different sites the program executes on. We use a combination of runtime and compile-time techniques to identify the calling context and to link only the names needed in that context. Our technique is able to handle recursive programs as well as separately compiled code that may itself be able to move. We discuss language constructs for controlling the behavior of dynamic linking and the implication of some of these constructs for application structure. (Also cross-referenced as UMIACS-TR-96-81)

Notes

Rights