[Bug dyninst/15136] New: stapdyn doesn't fill registers on 32-bit x86

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15136] New: stapdyn doesn't fill registers on 32-bit x86

glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=15136

             Bug #: 15136
           Summary: stapdyn doesn't fill registers on 32-bit x86
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dyninst
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]
    Classification: Unclassified


On 32-bit x86, Dyninst currently doesn't make any registers available to
instrumentation snippets.  Our code fills what it can (nothing) and writes
zeros for the rest.  Thus, any code in the probe handlers which read registers
will get incorrect data, and probably error out if they try to read and
dereference a pointer.

Our code is dynamic about available registers, so once Dyninst expands its
support, stapdyn should just start working too.  Thus, this bug is just for
tracking purposes, and to remind us to try again later.

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15136] stapdyn doesn't fill registers on 32-bit x86

glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=15136

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |14573

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15136] stapdyn doesn't fill registers on 32-bit x86

Sourceware - systemtap mailing list
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=15136

Cosmin Chenaru <cosmin.chenaru at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cosmin.chenaru at gmail dot com

--- Comment #1 from Cosmin Chenaru <cosmin.chenaru at gmail dot com> ---
Hi. I realize I am 7 years late, but only now I had to instrument a 32-bit
application using SystemTap and Dyninst. I took a look in the latest code for
Dyninst, inside EmitterIA32::emitCall(), and to my little understanding I see
that there is still no support in passing the registers of the probe in order
for SystemTap to get them through enter_dyninst_uprobe_regs().

So can you please tell me, why can't Dyninst obtain the registers during
runtime on x86, and on x64 there is no such limitation?

Thank you.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15136] stapdyn doesn't fill registers on 32-bit x86

Sourceware - systemtap mailing list
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=15136

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|systemtap at sourceware dot org    |scox at redhat dot com
                 CC|                            |fche at redhat dot com

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