Re: [PATCH] Support a protection scheme which reset the GS selector
6 Feb
2013
6 Feb
'13
12:31 p.m.
Alessandro Pignotti <a.pignotti(a)sssup.it> writes:
Hi everyone,
I've found two different games:
-) Of orcs and men -) The testament of sherlock holmes
which are using a protection scheme which reset the GS segment selector, possibly to confuse virtual machines. Since on linux the GS selector is used internally by glibc the game would crash as soon as a native glibc method is called by wine. The proposed patch tries to workaround this problem by restoring the GS to a known working value in wine's SEGFAULS handler and try the instruction again.
This should be done similarly to the other checks in raise_segv_exception. -- Alexandre Julliard julliard(a)winehq.org
4698
Age (days ago)
4698
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard