brahma-adshonor / gohook

a funny library to hook golang function at runtime
https://www.cnblogs.com/catch/p/10973611.html
MIT License
513 stars 72 forks source link

Any support for arm and arm64 ? #26

Open xausky opened 4 years ago

kmalloc commented 4 years ago

I am afraid not, ARM instruction set is totally different, which is beyond my knowledge for the moment. I would rather customize a compiler for that.

sirkon commented 3 years ago

@kmalloc you may have a look at how I do an assembly for this exactly purpose here. The problem is I am having a segmentation fault when trying to write into the code segment. Have no idea how to avoid this.

twz915 commented 7 months ago

https://github.com/agiledragon/gomonkey support arm

twz915 commented 7 months ago

https://github.com/agiledragon/gomonkey/releases/tag/v2.11.0