I imagine the new SSA backend can do this with its pattern matching, but
you would need to look for it here:
https://github.com/golang/go/blob/master/src/cmd/compile/internal/ssa/gen/generic.rules
or
https://github.com/golang/go/blob/master/src/cmd/compile/internal/ssa/gen/AMD64.rules
Maybe some
There are a few ways to embed binary data inside a Go executable, mainly
using go generate to create a const byte slice. At runtime you could then
extract the binary, though this probably might make some anti virus
products mad at you.
On Tuesday, November 8, 2016 at 2:38:48 PM UTC+13, ChrisLu