An approach to genuine dynamic linking
- 1 April 1991
- journal article
- research article
- Published by Wiley in Software: Practice and Experience
- Vol. 21 (4) , 375-390
- https://doi.org/10.1002/spe.4380210404
Abstract
This paper describes a new approach to dynamic link/unlink editing. The basis of this approach is a library of link editing functions that can add compiled object code to or remove such code from a process any time during its execution. Loading modules, searching libraries, resolving external references, and allocating storage for global and static data structures are all performed at run time. This approach provides the efficiency of native machine code execution along with the flexibility to modify a program during its execution, thereby making many new applications possible. This paper also describes three sample applications of these dynamic link editing functions: program customization, incremental program development, and support for debugging and testing. A prototype of this approach is implemented under UNIX as a library package called dld for the C programming language and is available for VAX, Sun 3 and SPARCstation machines.Keywords
This publication has 5 references indexed in Scilit:
- A dataflow approach to event‐based debuggingSoftware: Practice and Experience, 1991
- High-level debugging in parasightACM SIGPLAN Notices, 1988
- Dynamic compilation in the unix environmentSoftware: Practice and Experience, 1987
- Selective interpretation as a technique for debugging computationally intensive programsPublished by Association for Computing Machinery (ACM) ,1987
- Virtual memory, processes, and sharing in MULTICSCommunications of the ACM, 1968