Golang Function to debug external program

Hi guys,

I want to know if there is any function in Golang to debug External app/process.
Basically, I want to control a program (running from golang or attach into process doesn’t matter) and get the EIP/ESP by using Golang just like GDB (https://www.gnu.org/software/gdb/).

Sorry for my bad english and thank you for your help.

nvm, I just found this link to read :

  1. Need help on ptrace
  2. https://medium.com/@lizrice/a-debugger-from-scratch-part-1-7f55417bc85f

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.