Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LookupFunc (0.07 sec)

  1. src/cmd/internal/objfile/disasm.go

    		}
    		f(pc, uint64(size), file, line, text)
    		pc += uint64(size)
    	}
    }
    
    type lookupFunc = func(addr uint64) (sym string, base uint64)
    type disasmFunc func(code []byte, pc uint64, lookup lookupFunc, ord binary.ByteOrder, _ bool) (text string, size int)
    
    func disasm_386(code []byte, pc uint64, lookup lookupFunc, _ binary.ByteOrder, gnuAsm bool) (string, int) {
    	return disasm_x86(code, pc, lookup, 32, gnuAsm)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. src/debug/gosym/symtab.go

    		case 'T', 't', 'L', 'l', 'D', 'd', 'B', 'b':
    			if s.Name == name {
    				return s
    			}
    		}
    	}
    	return nil
    }
    
    // LookupFunc returns the text, data, or bss symbol with the given name,
    // or nil if no such symbol is found.
    func (t *Table) LookupFunc(name string) *Func {
    	for i := range t.Funcs {
    		f := &t.Funcs[i]
    		if f.Sym.Name == name {
    			return f
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top