On Thu, Oct 26, 2017 at 1:34 PM, <max.shavr...@gmail.com> wrote: > (Hoping this is the right place to ask this...)
Yes, this is at any rate one of the right places. > I'm wondering if there's a way to map the function name/address to the > function's rtype/functype on a stripped go binary (at least, for ELF)? I > know the funcType is in .rodata, but I don't see any mapping from .gopclntab > -> .typelink, or .gopclntab -> functype. Can I assume they're put into > rodata in order, or, even if there's no direct mapping, is there some > implementation-defined layout I can utilize? There is no such mapping. You're right that the information is generally there, but the mapping is not. I don't think there is any reliable workaround, and I'm sure there is no workaround that will remain stable in future releases. Sorry. 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. For more options, visit https://groups.google.com/d/optout.