[Bug translator/4886] New: stap should validate debuginfo files
mmlnx at us dot ibm dot com
sourceware-bugzilla@sourceware.org
Thu Aug 2 20:47:00 GMT 2007
As far as I can tell, stap relies solely on file/directory names to determine
which debuginfo files to use. It does not validate that, upon finding a match,
the debuginfo file is actually valid for the running kernel. I confirmed this
by renaming an invalid vmlinux with the name stap expected to find for the
running kernel, then running a script. I saw no errors up through compiling the
module, but once the module loaded the system crashed.
Stap should do some level of validation of the debuginfo files it uses, perhaps
by comparing the dwarf addresses to the addresses in /proc/kallsyms. If they
don't match something's wrong. It may be sufficient to check a small set of
well-known symbols rather than validating every address referenced in the script.
--
Summary: stap should validate debuginfo files
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mmlnx at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4886
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list