This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/9937] verify user-space build-ids


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]