Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PF_W (0.03 sec)

  1. src/debug/buildinfo/buildinfo.go

    	for _, s := range x.f.Sections {
    		if s.Name == ".go.buildinfo" {
    			return s.Addr, s.Size
    		}
    	}
    	for _, p := range x.f.Progs {
    		if p.Type == elf.PT_LOAD && p.Flags&(elf.PF_X|elf.PF_W) == elf.PF_W {
    			return p.Vaddr, p.Memsz
    		}
    	}
    	return 0, 0
    }
    
    // peExe is the PE (Windows Portable Executable) implementation of the exe interface.
    type peExe struct {
    	f *pe.File
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf.go

    		ph.Type = elf.PT_GNU_STACK
    		ph.Flags = elf.PF_W + elf.PF_R
    		ph.Align = uint64(ctxt.Arch.RegSize)
    	} else if ctxt.HeadType == objabi.Hopenbsd {
    		ph := newElfPhdr()
    		ph.Type = elf.PT_OPENBSD_NOBTCFI
    		ph.Flags = elf.PF_X
    	} else if ctxt.HeadType == objabi.Hsolaris {
    		ph := newElfPhdr()
    		ph.Type = elf.PT_SUNWSTACK
    		ph.Flags = elf.PF_W + elf.PF_R
    	}
    
    elfobj:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. src/debug/elf/elf.go

    const (
    	PF_X        ProgFlag = 0x1        /* Executable. */
    	PF_W        ProgFlag = 0x2        /* Writable. */
    	PF_R        ProgFlag = 0x4        /* Readable. */
    	PF_MASKOS   ProgFlag = 0x0ff00000 /* Operating system-specific. */
    	PF_MASKPROC ProgFlag = 0xf0000000 /* Processor-specific. */
    )
    
    var pfStrings = []intName{
    	{0x1, "PF_X"},
    	{0x2, "PF_W"},
    	{0x4, "PF_R"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NT_PRSTATUS", Const, 0},
    		{"NType", Type, 0},
    		{"NewFile", Func, 0},
    		{"OSABI", Type, 0},
    		{"Open", Func, 0},
    		{"PF_MASKOS", Const, 0},
    		{"PF_MASKPROC", Const, 0},
    		{"PF_R", Const, 0},
    		{"PF_W", Const, 0},
    		{"PF_X", Const, 0},
    		{"PT_AARCH64_ARCHEXT", Const, 16},
    		{"PT_AARCH64_UNWIND", Const, 16},
    		{"PT_ARM_ARCHEXT", Const, 16},
    		{"PT_ARM_EXIDX", Const, 16},
    		{"PT_DYNAMIC", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top