Oh, thanks! I will rewrite that. On Tuesday, May 10, 2022 at 2:56:28 AM UTC+8 Ian Lance Taylor wrote:
> On Mon, May 9, 2022 at 8:59 AM MQTT Tactic <mqtt...@gmail.com> wrote: > > > > First I use LLVM PASS to extract all of the functions from the LLVM > bitcode that compiled by `gollvm`. What I got is as follows: > > > > ``` > > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1cipher._64_7uint8..eq > > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1cipher._664_7uint8..eq > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1cipher..import > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1license.New > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1license.NewV3 > > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1license.V3.NewMasterKey > > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1license.V3.Cipher > > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1license.V3.String > > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1license.V3.Contract > > > github_0com_1emitter_x2dio_1emitter_1internal_1security_1license.V3.Master > > ``` > > > > Are there any methods to convert these mangled name to the form in > golang like `func Register(name string, i vlauth.IFace) error`. Or `func > Register() xxx` to mangled name. Any help would be much appreciated! > > I don't think there is any existing program that will do it for you, > but the relevant code is > > https://go.googlesource.com/gofrontend/+/refs/heads/master/libgo/go/runtime/symtab.go#281 > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/91d94906-1f60-431d-9d74-c9b626c10906n%40googlegroups.com.