[Bug translator/4886] stap should validate debuginfo files

fche at redhat dot com sourceware-bugzilla@sourceware.org
Thu Aug 16 01:43:00 GMT 2007


------- 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.



More information about the Systemtap mailing list