FindProc - returns the address of the given function in this library
(funcname string)
| 42 | |
| 43 | // FindProc - returns the address of the given function in this library |
| 44 | func (l *Library) FindProc(funcname string) (uintptr, bool) { |
| 45 | v, ok := l.Exports[funcname] |
| 46 | return l.BaseAddress + uintptr(v), ok |
| 47 | } |