Hi Zebediah,
On 2/26/19 4:05 PM, Zebediah Figura wrote:
On 2/26/19 6:38 AM, Jacek Caban wrote:
+ if (sizeof(void *) != 4) /* avoid dealing with fastcall */ + { + ObfReferenceObject(obj1); + ObDereferenceObject(obj1); + }
The tests aren't going to run on 64-bit Windows,
Did you mean 32-bit Windows?
so it may be worth just adding fastcall thunks like we have in kernel32:sync.
The test is not very interesting anyway. That, combined with the fact that actual 32-bit Windows are rather rare, made me think that it's not worth the trouble. Could we leave it as a possible follow-up?
Thanks for the review,
Jacek