C, C++: Shared libraries: Are single functions or complete libraries loaded into memory? -
with static compilation, functions of library needed program linked program. how shared libraries ? functions needed program loaded memory dynamic linker, or total shared library loaded ? if functions, how actual size of program including loaded functions during runtime ?
thank ! oliver
with static compilation, functions of library needed program linked program. how shared libraries ?
shared libraries referenced program symbolically, is, program identify, name, shared library linked with.
are functions needed program loaded memory dynamic linker, or total shared library loaded ?
the program reference specific entry points , data objects in shared library. shared library mapped memory single large object, pages referenced paged in kernel. total amount of library gets loaded depend on both density of references, references other images linked it, , locality of library's own functionality.
if functions, how actual size of program including loaded functions during runtime ?
the best way on mac , other unix-based systems ps(1).
Comments
Post a Comment