We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edcac38 commit e643513Copy full SHA for e643513
register.go
@@ -68,7 +68,7 @@ func RegSymbol(symPtr map[string]uintptr) error {
68
syms, err := f.Symbols()
69
for _, sym := range syms {
70
code := strings.ToUpper(string(sym.Code))
71
- if (code == "B" || code == "D") && strings.HasPrefix(sym.Name, RUNTIME_PREFIX) {
+ if code == "B" || code == "D" {
72
symPtr[sym.Name] = uintptr(sym.Addr)
73
}
74
0 commit comments