[Bug 195555] New: [patch] [dtrace] fix alignment issue when iterating DOFs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 1 12:54:29 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195555

            Bug ID: 195555
           Summary: [patch] [dtrace] fix alignment issue when iterating
                    DOFs
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: fedor at indutny.com

Created attachment 150067
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150067&action=edit
Patch

Unfortunately, previous fix for DTrace drti was incomplete.

Following problems was found during investigation:

1. FreeBSD's 10.1 dtrace tool produce SHT_PROGBITS .__SUNW_dof section, instead
of SHT_SUNW_dof 
2. DOFs are placed at aligned locations within the ELF section, this wasn't
accounted in the iterating loop .

I suggest this patch to be included in next 10.x iteration.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list