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 uprobes/10836] New: uprobes-provided pt_regs* are unreliable


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.


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