Bug 2608 - kernel/module.statement() should verify addresses
Summary: kernel/module.statement() should verify addresses
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Tim Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 14:35 UTC by Frank Ch. Eigler
Modified: 2009-03-31 21:39 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.