I wanted to ask if its possible to perform binary instrumentation of Golang application on Windows with use of Intel Pin tool. I built `memtrace` pintool for tracing all memory accesses, but using this against a Go generated binary results in panics. There are several different causes of panics:
``` runtime: g 1: unknown pc 0xc0005bf610 unexpected fault address 0xfd6d75 runtime: g 1: unexpected return pc for bufio.(*Reader).ReadByte ``` I suppose it somehow messes with application's stacks but i lack of knowledge about compiler and instrumentation internals to try to investigate that by myself. I wanted to ask: 1) Is it possible to run Intel Pin against Go applications on Windows? If it is, what should i try to make it work? 2) I just want to trace memory accesses to found out memory access patterns for my application. If there is another, easier way to achieve that, please let me know. I wanted to try modified `asan` instrumentation, but from what i saw its not available on Windows? I was also thinking about modifying runtime and ssa to generate additional instructions during compilation but as i mentioned i lack of knowledge about it. -- 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/fcf8009a-d45d-4ef8-b1fc-dadad8597ff0n%40googlegroups.com.