public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug dyninst/15136] stapdyn doesn't fill registers on 32-bit x86
  2013-02-11 21:11 [Bug dyninst/15136] New: stapdyn doesn't fill registers on 32-bit x86 jistone at redhat dot com
@ 2013-02-11 21:11 ` jistone at redhat dot com
  2020-04-24 16:58 ` cosmin.chenaru at gmail dot com
  2020-04-24 17:09 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2013-02-11 21:11 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug dyninst/15136] New: stapdyn doesn't fill registers on 32-bit x86
@ 2013-02-11 21:11 jistone at redhat dot com
  2013-02-11 21:11 ` [Bug dyninst/15136] " jistone at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2013-02-11 21:11 UTC (permalink / raw)
  To: systemtap

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: systemtap@sourceware.org
        ReportedBy: jistone@redhat.com
    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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug dyninst/15136] stapdyn doesn't fill registers on 32-bit x86
  2013-02-11 21:11 [Bug dyninst/15136] New: stapdyn doesn't fill registers on 32-bit x86 jistone at redhat dot com
  2013-02-11 21:11 ` [Bug dyninst/15136] " jistone at redhat dot com
@ 2020-04-24 16:58 ` cosmin.chenaru at gmail dot com
  2020-04-24 17:09 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cosmin.chenaru at gmail dot com @ 2020-04-24 16:58 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug dyninst/15136] stapdyn doesn't fill registers on 32-bit x86
  2013-02-11 21:11 [Bug dyninst/15136] New: stapdyn doesn't fill registers on 32-bit x86 jistone at redhat dot com
  2013-02-11 21:11 ` [Bug dyninst/15136] " jistone at redhat dot com
  2020-04-24 16:58 ` cosmin.chenaru at gmail dot com
@ 2020-04-24 17:09 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2020-04-24 17:09 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-24 17:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-11 21:11 [Bug dyninst/15136] New: stapdyn doesn't fill registers on 32-bit x86 jistone at redhat dot com
2013-02-11 21:11 ` [Bug dyninst/15136] " jistone at redhat dot com
2020-04-24 16:58 ` cosmin.chenaru at gmail dot com
2020-04-24 17:09 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).