Menu

#5 Determining object module address

open
vitki
5
2008-06-22
2008-06-22
vitki
No

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.

Discussion

  • vitki

    vitki - 2008-06-22
    • labels: --> Infrastructure
     
  • vitki

    vitki - 2008-06-22
    • assigned_to: nobody --> vitki
     

Log in to post a comment.

Monday.com Logo