Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PT_NOTE (0.08 sec)

  1. src/cmd/link/elf_test.go

    	sec = ef.Section(".note.go.buildid")
    	if sec == nil {
    		t.Fatalf("can't find go build id")
    	}
    	cnt := 0
    	for _, ph := range ef.Progs {
    		if ph.Type == elf.PT_NOTE {
    			cnt += 1
    		}
    	}
    	if cnt != expected {
    		t.Fatalf("want %d PT_NOTE segment, got %d", expected, cnt)
    	}
    }
    
    const pieSourceTemplate = `
    package main
    
    import "fmt"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    	Desc []byte // Contents of the "desc" field.
    	Type uint32 // Contents of the "type" field.
    }
    
    // parseNotes returns the notes from a SHT_NOTE section or PT_NOTE segment.
    func parseNotes(reader io.Reader, alignment int, order binary.ByteOrder) ([]elfNote, error) {
    	r := bufio.NewReader(reader)
    
    	// padding returns the number of bytes required to pad the given size to an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top