This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/9937] verify user-space build-ids
- From: "scox at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: Wed, 20 Oct 2010 18:15:45 +0000
- Subject: [Bug runtime/9937] verify user-space build-ids
- Auto-submitted: auto-generated
- References: <bug-9937-1110@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=9937
Stan Cox <scox at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |scox at redhat dot com
--- Comment #17 from Stan Cox <scox at redhat dot com> 2010-10-20 18:15:27 UTC ---
(In reply to comment #16)
Add build id support for user modules. The build id is an offset which is
adjusted relative to dwarf_module_base for ET_EXEC or the load address from the
task manager for ET_DYN.
* sym.c (_stp_build_id_check): New. Moved from... (plus addition
of user_module parameter)
(_stp_build_id_check): ...here.
(_stp_userprog_check): New. Build id check for user modules.
* sym.h (dwarf_module_base): New.
* uprobes-common.c (stap_uprobe_change_plus): Call _stp_userprog_check.
* translate.cxx (dump_unwindsyms): Don't stop if it isn't a kernel
module.
Initialize module->dwarf_module_base. Output module->build_id_offset
for .dynamic case.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.