diff --git a/register.go b/register.go index d9ffcf0c..afe39b4c 100644 --- a/register.go +++ b/register.go @@ -71,6 +71,9 @@ func RegSymbol(symPtr map[string]uintptr) error { if code == "B" || code == "D" { symPtr[sym.Name] = uintptr(sym.Addr) } + if strings.HasPrefix(sym.Name, ITAB_PREFIX) { + regItab(symPtr, sym.Name, uintptr(sym.Addr)) + } } return nil }