Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for debug_str_offsets (0.16 sec)

  1. src/debug/dwarf/open.go

    // DWARF section name such as ".debug_addr", ".debug_str_offsets", and
    // so forth. This approach is used for new DWARF sections added in
    // DWARF 5 and later.
    func (d *Data) AddSection(name string, contents []byte) error {
    	var err error
    	switch name {
    	case ".debug_addr":
    		d.addr = contents
    	case ".debug_line_str":
    		d.lineStr = contents
    	case ".debug_str_offsets":
    		d.strOffsets = contents
    	case ".debug_rnglists":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/debug/dwarf/entry.go

    				off = uint64(b.uint16())
    			case formStrx3:
    				off = uint64(b.uint24())
    			case formStrx4:
    				off = uint64(b.uint32())
    			}
    			if len(b.dwarf.strOffsets) == 0 {
    				b.error("DW_FORM_strx with no .debug_str_offsets section")
    			}
    			is64, known := b.format.dwarf64()
    			if !known {
    				b.error("unknown offset size for DW_FORM_strx")
    			}
    			if b.err != nil {
    				return nil
    			}
    			if is64 {
    				off *= 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
Back to top