Skip to content

Commit

Permalink
add register itab
Browse files Browse the repository at this point in the history
  • Loading branch information
pkujhd committed Aug 11, 2020
1 parent e643513 commit ba9a5c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions register.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ba9a5c2

Please sign in to comment.