github.com/Rookout/GoSDK@v0.1.48/pkg/services/instrumentation/module/module_unsupported_versions.go (about) 1 //go:build !go1.15 || go1.22 2 // +build !go1.15 go1.22 3 4 package module 5 6 import ( 7 _ "unsafe" 8 ) 9 10 11 12 type functab struct { 13 } 14 15 type _func struct { 16 } 17 18 type pcHeader struct { 19 } 20 21 type moduledata struct { 22 text uintptr 23 types, etypes uintptr 24 next *moduledata 25 } 26 27 func getPCTab(m *moduledata) []byte { 28 return nil 29 } 30 31 func (f *FuncInfo) getEntry() uintptr { 32 return 0 33 } 34 35 36 func findFuncOffsetInModule(pc uintptr, datap *moduledata) (uintptr, bool) { 37 return 0, false 38 } 39 40 func (md *moduledata) GetTypeMap() map[TypeOff]uintptr { 41 return nil 42 }