Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unitLength (0.07 sec)

  1. src/debug/dwarf/typeunit.go

    }
    
    // Parse a .debug_types section.
    func (d *Data) parseTypes(name string, types []byte) error {
    	b := makeBuf(d, unknownFormat{}, name, 0, types)
    	for len(b.data) > 0 {
    		base := b.off
    		n, dwarf64 := b.unitLength()
    		if n != Offset(uint32(n)) {
    			b.error("type unit length overflow")
    			return b.err
    		}
    		hdroff := b.off
    		vers := int(b.uint16())
    		if vers != 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top