[Bug 276059] ctfconvert gives incorrect offsets for bitfields in a struct

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Jan 2024 17:49:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276059

            Bug ID: 276059
           Summary: ctfconvert gives incorrect offsets for bitfields in a
                    struct
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

<8980> STRUCT tcphdr (20 bytes)
        th_sport type=1307 off=0
        th_dport type=1307 off=16
        th_seq type=8979 off=32
        th_ack type=8979 off=64
        th_x2 type=3307 off=0  <-- wrong
        th_off type=3307 off=0  <-- wrong
        th_flags type=1282 off=104
        th_win type=1307 off=112
        th_sum type=1307 off=128
        th_urp type=1307 off=144

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