Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for __LINKEDIT (0.14 sec)

  1. src/cmd/internal/codesign/codesign.go

    type CodeSigCmd struct {
    	Cmd      uint32 // LC_CODE_SIGNATURE
    	Cmdsize  uint32 // sizeof this command (16)
    	Dataoff  uint32 // file offset of data in __LINKEDIT segment
    	Datasize uint32 // file size of data in __LINKEDIT segment
    }
    
    func FindCodeSigCmd(f *macho.File) (CodeSigCmd, bool) {
    	get32 := f.ByteOrder.Uint32
    	for _, l := range f.Loads {
    		data := l.Raw()
    		cmd := get32(data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. src/runtime/pprof/vminfo_darwin_test.go

    	// __DATA_CONST                1035bc000-103a48000    [ 4656K  3824K     0K     0K] r--/rwSM=COW          /Users/USER/*/gopls
    	// __LINKEDIT                  103b00000-103c98000    [ 1632K  1616K     0K     0K] r--/r-SM=COW          /Users/USER/*/gopls
    	// dyld private memory         103cd8000-103cdc000    [   16K     0K     0K     0K] ---/--SM=NUL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/debug/macho/file_test.go

    			&SegmentHeader{LoadCmdSegment, 0x7c, "__IMPORT", 0x3000, 0x1000, 0x2000, 0x1000, 0x7, 0x7, 0x1, 0x0},
    			&SegmentHeader{LoadCmdSegment, 0x38, "__LINKEDIT", 0x4000, 0x1000, 0x3000, 0x12c, 0x7, 0x1, 0x0, 0x0},
    			nil, // LC_SYMTAB
    			nil, // LC_DYSYMTAB
    			nil, // LC_LOAD_DYLINKER
    			nil, // LC_UUID
    			nil, // LC_UNIXTHREAD
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	// for code signing to work. So we'll need to move the
    	// linkedit section, but all the others can be copied directly.
    	linkseg := exem.Segment("__LINKEDIT")
    	if linkseg == nil {
    		return fmt.Errorf("missing __LINKEDIT segment")
    	}
    
    	if _, err := exef.Seek(0, 0); err != nil {
    		return err
    	}
    	if _, err := io.CopyN(outf, exef, int64(linkseg.Offset)); err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho.go

    		s5 := ldr.SymSize(ctxt.ArchSyms.LinkEditGOT)
    		s6 := ldr.SymSize(ldr.Lookup(".machosymstr", 0))
    		s7 := ldr.SymSize(ldr.Lookup(".machocodesig", 0))
    
    		if ctxt.LinkMode != LinkExternal {
    			ms := newMachoSeg("__LINKEDIT", 0)
    			ms.vaddr = uint64(Rnd(int64(Segdata.Vaddr+Segdata.Length), *FlagRound))
    			ms.vsize = uint64(s1 + s2 + s3 + s4 + s5 + s6 + s7)
    			ms.fileoffset = uint64(linkoff)
    			ms.filesize = ms.vsize
    			ms.prot1 = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top