Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for chki32 (0.07 sec)

  1. src/debug/elf/file.go

    		if s.Flags&SHF_COMPRESSED == 0 {
    			s.ReaderAt = s.sr
    			s.Size = s.FileSize
    		} else {
    			// Read the compression header.
    			switch f.Class {
    			case ELFCLASS32:
    				var ch Chdr32
    				chdata := make([]byte, unsafe.Sizeof(ch))
    				if _, err := s.sr.ReadAt(chdata, 0); err != nil {
    					return nil, err
    				}
    				s.compressionType = CompressionType(bo.Uint32(chdata[unsafe.Offsetof(ch.Type):]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. src/debug/elf/elf.go

    // ELF32 Dynamic structure. The ".dynamic" section contains an array of them.
    type Dyn32 struct {
    	Tag int32  /* Entry type. */
    	Val uint32 /* Integer/Address value. */
    }
    
    // ELF32 Compression header.
    type Chdr32 struct {
    	Type      uint32
    	Size      uint32
    	Addralign uint32
    }
    
    /*
     * Relocation entries.
     */
    
    // ELF32 Relocations that don't need an addend field.
    type Rel32 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    				Type:      uint32(elf.COMPRESS_ZLIB),
    				Size:      uint64(total),
    				Addralign: uint64(ctxt.Arch.Alignment),
    			})
    		case 4:
    			binary.Write(&buf, ctxt.Arch.ByteOrder, elf.Chdr32{
    				Type:      uint32(elf.COMPRESS_ZLIB),
    				Size:      uint32(total),
    				Addralign: uint32(ctxt.Arch.Alignment),
    			})
    		default:
    			log.Fatalf("can't compress header size:%d", ctxt.Arch.PtrSize)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top