- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for unitLength (0.1 sec)
-
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) -
src/debug/dwarf/line.go
// all of the header fields in r. func (r *LineReader) readHeader(compDir string) error { buf := &r.buf // Read basic header fields [DWARF2 6.2.4]. hdrOffset := buf.off unitLength, dwarf64 := buf.unitLength() r.endOffset = buf.off + unitLength if r.endOffset > buf.off+Offset(len(buf.data)) { return DecodeError{"line", hdrOffset, fmt.Sprintf("line table end %d exceeds section size %d", r.endOffset, buf.off+Offset(len(buf.data)))}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 23.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
}) d.newrefattr(die, dwarf.DW_AT_type, d.defptrto(dwhs)) } } // createUnitLength creates the initial length field with value v and update // offset of unit_length if needed. func (d *dwctxt) createUnitLength(su *loader.SymbolBuilder, v uint64) { if isDwarf64(d.linkctxt) { su.AddUint32(d.arch, 0xFFFFFFFF) } d.addDwarfAddrField(su, v) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0)