Detours icon indicating copy to clipboard operation
Detours copied to clipboard

Feature: Adding limited posix support

Open virtuald opened this issue 5 years ago • 7 comments

We are going to port Detours so we can use it on Linux. It seems pretty straightforward. Is there interest in receiving those changes here? If not, we'll just keep it internal.

virtuald avatar Mar 25 '20 18:03 virtuald

yes, interested

imtrobin avatar Mar 27 '20 02:03 imtrobin

We are going to port Detours so we can use it on Linux.

Sounds like a fun project!

Is there interest in receiving those changes here?

I guess it depends on how invasive the changes are, and how much risk they introduce for breakage of the existing functionality. If you have something for us to look at so we could judge, that would be great.

bgianfo avatar Aug 21 '20 04:08 bgianfo

I have finish it many month ago, will commit in the future。and it is basically no invasive for existed codes.

sonyps5201314 avatar Aug 27 '20 16:08 sonyps5201314

@virtuald I think this sounds very interesting! From what I've seen, the need for something like Detours is less imminent given that the dynamic linker supports preloading shared libraries (and overriding APIs) into processes via the LD_PRELOAD environment variable, but of course that only works for newly started applications. I'd love to see alternative approaches to API hooking on Linux which get away without environment variables.

frerich avatar Sep 04 '20 07:09 frerich

@sonyps5201314 Sounds interesting -- is your code available somewhere, or maybe you can describe your approach in plain words?

frerich avatar Sep 04 '20 07:09 frerich

@frerich, I have not publish this code to public area, and it only stay on my harddisk. the approach is implement the lacked windows API in linux. image

sonyps5201314 avatar Sep 04 '20 09:09 sonyps5201314

This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days.