This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug uprobes/10836] New: uprobes-provided pt_regs* are unreliable
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 23 Oct 2009 16:25:30 -0000
- Subject: [Bug uprobes/10836] New: uprobes-provided pt_regs* are unreliable
- Reply-to: sourceware-bugzilla at sourceware dot org
Several registers appearing in a utrace-oriented pt_regs do not accurately
represent the state of the user-space task. As per bug #10601, this breaks
some dwarf-based $context variables.
It seems to me that either uprobes should not pass pt_regs at all to its
callbacks, or else populate it with synthetic (but accurate) values pulled
out of utrace regset calls. (The latter would be slower and require per-arch
code, but would make it more convenient for the clients. The former would
be faster, and still require per-arch code at the client, but would be less
convenient.)
--
Summary: uprobes-provided pt_regs* are unreliable
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: uprobes
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10836
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.