How to debug linux program on Windows ?
Lab setup
- Windows: (IP: 192.168.1.105)
- Linux: (IP: 192.168.1.103)
Windows (IDA Pro)
- Install IDA Pro 6.8 on Windows.
- Create a share folder linux in C:\PROGRA~1\IDA6.8
- copy linux_server from dbgsrv to C:\PROGRA~1\IDA6.8\linux
Linux
- Mount windows share to locahost
mount -t cifs //192.168.1.105/linux -o username=test,password=password /mnt/linux
- copy the program called demo to /mnt/linux