This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/4886] stap should validate debuginfo files
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 15 Aug 2007 19:25:57 -0000
- Subject: [Bug translator/4886] stap should validate debuginfo files
- References: <20070802201140.4886.mmlnx@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2007-08-15 19:25 -------
Just a note: this likely wouldn't help the kernel case (where vmlinux is
unstripped), but for modules, it may help to change src/tapsets.cxx's
initialization of debuginfo_path to have a "+" instead of "-" at the front.
That activates (weakish) CRC checking of the debuginfo against the stripped
base file.
Just in case, would you mind testing that change with your wrong-vmlinux
scenario?
diff -r1.205 tapsets.cxx
668c668
< static char debuginfo_path_arr[] = "-:.debug:/usr/lib/debug";
---
> static char debuginfo_path_arr[] = "+:.debug:/usr/lib/debug";
--
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.