cch123 / supermonkey

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

[DEMO] replace a runtime function implementation #9

Closed cch123 closed 3 years ago

cch123 commented 3 years ago

eg. replace netpoll to the following steps:

  1. call userdefined hooks
  2. call the actual netpoll
cch123 commented 3 years ago

impossible, fatal error: unexpected signal during runtime execution fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0xa1 pc=0x1037c73]

runtime stack: