Bug 2608

Summary: kernel/module.statement() should verify addresses
Product: systemtap Reporter: Frank Ch. Eigler <fche>
Component: translatorAssignee: Tim Moore <timoore>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Frank Ch. Eigler 2006-04-26 14:35:57 UTC
There are several bugs with statement("...") handling in tapsets.cxx.
Comment 1 Frank Ch. Eigler 2008-02-23 02:30:59 UTC
patch committed for summary bug (prologue processing should be bypassed)
still need patch for stmt address verification
Comment 2 Frank Ch. Eigler 2008-05-27 17:08:18 UTC
Solving this the brute force way may involve
- finding the function that contains the given PC address
- finding that function's set of (source) line records
- iterating across them to find a matching pc

This would restrict statement(NUM) probes to a source-level
statement/line.  Restricting them finer, to instruction
granularity, would probably require piecemeal disassembly,
which I'd rather avoid if possible.
Comment 3 Frank Ch. Eigler 2009-03-31 21:39:51 UTC
commit 86bf665 from 2008-06-11.