Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for dynValue1 (0.23 sec)

  1. src/cmd/link/internal/ld/elf_test.go

    			if err != nil {
    				t.Skip("The system may not support ELF, skipped.")
    			}
    			defer elfFile.Close()
    
    			flags, err := elfFile.DynValue(elf.DT_FLAGS)
    			if err != nil {
    				t.Fatalf("failed to get DT_FLAGS: %v", err)
    			}
    
    			flags1, err := elfFile.DynValue(elf.DT_FLAGS_1)
    			if err != nil {
    				t.Fatalf("failed to get DT_FLAGS_1: %v", err)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/debug/elf/file.go

    		if t == tag {
    			s, ok := getString(str, int(v))
    			if ok {
    				all = append(all, s)
    			}
    		}
    	}
    	return all, nil
    }
    
    // DynValue returns the values listed for the given tag in the file's dynamic
    // section.
    func (f *File) DynValue(tag DynTag) ([]uint64, error) {
    	ds := f.SectionByType(SHT_DYNAMIC)
    	if ds == nil {
    		return nil, nil
    	}
    	d, err := ds.Data()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"VoidType", Type, 0},
    		{"VoidType.CommonType", Field, 0},
    	},
    	"debug/elf": {
    		{"(*File).Close", Method, 0},
    		{"(*File).DWARF", Method, 0},
    		{"(*File).DynString", Method, 1},
    		{"(*File).DynValue", Method, 21},
    		{"(*File).DynamicSymbols", Method, 4},
    		{"(*File).ImportedLibraries", Method, 0},
    		{"(*File).ImportedSymbols", Method, 0},
    		{"(*File).Section", Method, 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