This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/16162] New: plt addresses are incorrect for prelinked libraries


https://sourceware.org/bugzilla/show_bug.cgi?id=16162

            Bug ID: 16162
           Summary: plt addresses are incorrect for prelinked libraries
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: jistone at redhat dot com

Every address we use should eventually boil down to a file offset, especially
when we're on inode-uprobes or stapdyn.  But this doesn't seem to happen for a
prelinked library:

> $ stap -e 'probe process("/usr/lib64/libc-2.17.so").plt { println(pp()) }' -c true 
> WARNING: probe process("/usr/lib64/libc-2.17.so").statement(0x3f1ec1f400) inode-offset 0000003f1ec1f400 registration error (rc -22)
> WARNING: probe process("/usr/lib64/libc-2.17.so").statement(0x3f1ec1f3f0) inode-offset 0000003f1ec1f3f0 registration error (rc -22)
[...]

> $ stap -e 'probe process("/usr/lib64/libc-2.17.so").plt { println(pp()) }' -c true --dyn
> stapdyn: WARNING: Couldn't convert /usr/lib64/libc-2.17.so+0x3f1ec1f320 to an address
> stapdyn: WARNING: Couldn't convert /usr/lib64/libc-2.17.so+0x3f1ec1f330 to an address
[...]

Those look like raw prelinked addresses, not offsets.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]