vitki
-
2008-06-22
- labels: --> Infrastructure
Currently subjects in Linux/Solaris can handle only statically linked binaries and give up to determine segment addresses of shared libraries. In VxWorks we depend on moduleLib.h for this task. Indeed, the matter is very simple. During the scan we pick a global symbol in each of data/bss/test segments (if there is no such symbol, skip the module) and record it. When the agent starts up, the hub requests actual addresses of these symbols and maintains the offset.