Martin Storsjö martin@martin.st writes:
On Wed, 30 Oct 2019, Alexandre Julliard wrote:
Not being able to use ptrace isn't a very interesting case, particularly if you are talking about exception handling, since you'll also need ptrace for the debug registers.
Hmm, are the debug registers used somewhere in exception unwinding? SEH based exception handling works fine without ptrace at the moment.
They would be used if the app has changed them.
I don't think it's worth adding complicated workarounds for this.
Ok, fair enough.
I presume you're not willing to add a special case directly within EnumProcessModules either? That has much less risk of vaguely changing semantics of other functions, but it does add a bit of code duplication though.
That could be acceptable, depending on what the resulting code looks like.