Hpmason / retour-utils

Other
4 stars 2 forks source link

Add Unix support & switch to minidl as the underlying library / symbol interface #12

Closed tsuza closed 11 months ago

tsuza commented 11 months ago

This adds support to Unix systems ( hence technically MacOS as well ). Honestly I haven't tested it on Linux, since injecting into programs is more annoying compared to Windows and I wouldn't even know what to test it on ( I could probably create a dummy program just to test it ). Though I've made sure that it works on Windows.

This handles both https://github.com/Hpmason/retour-utils/issues/5 and https://github.com/Hpmason/retour-utils/issues/11.

Hpmason commented 11 months ago

Thanks for working on this, especially reaching out to minidl to provide access to the handle pointer! It's really nice to remove that windows dependency, which will make building docs a lot nicer.

I primarily use Windows, so I don't know the best way to test it on linux. I can look into testing it with WSL later on, if there's issues I can make further changes.