cch123 / supermonkey

Patch all Go functions for testing
MIT License
251 stars 17 forks source link

Apple M-series chips support #25

Open ansiz opened 1 year ago

ansiz commented 1 year ago

If you use supermonkey on an Apple M-series chip, you will get an error like this

github.com/cch123/supermonkey/internal/bouk ../../../../vendor/github.com/cch123/supermonkey/internal/bouk/replace.go:24:14: undefined: JmpToFunctionValue

Compilation finished with exit code 1

We can change the GOARCH environment variable to amd64 to run the test cases with supermonkey, but this will cause the debug function to be unavailable