Commit Graph

86 Commits

Author SHA1 Message Date
Alexandre Julliard ff08cd597d ntdll: Only allocate TLS data when resolving imports. 2014-02-17 20:16:08 +01:00
Alexandre Julliard 0f0bf58663 ntdll: Don't fixup imports for executables. 2014-02-17 20:15:44 +01:00
Alexandre Julliard 7307298ac3 ntdll: Don't fixup imports when a dll is already loaded. 2014-02-17 20:15:43 +01:00
Alexandre Julliard a4c8943c70 kernel32/tests: Add some tests for dll import resolution. 2014-02-17 19:10:07 +01:00
Dmitry Timoshkov 52bc06af7b kernel32/tests: Use PROCESS_ALL_ACCESS definition compatible with versions of Windows before Vista. 2014-02-07 16:28:55 +01:00
Frédéric Delanoy cb167e8e18 kernel32/tests: Remove unused variable. 2014-02-04 11:21:42 +01:00
Alexandre Julliard e8eb781327 server: Check PE file architecture at mapping creation time. 2013-11-21 19:39:02 +01:00
Alexandre Julliard 55eb7e56e8 kernel32/tests: Add some tests for invalid image section mappings. 2013-11-21 19:39:02 +01:00
Alexandre Julliard 70d490aa3d kernel32/tests: Add a helper function for creating a test dll. 2013-11-21 19:39:02 +01:00
Alexandre Julliard 3dc1f20f03 kernel32/tests: Make the page size a global variable. 2013-11-21 19:39:02 +01:00
André Hentschel c6f70ca853 kernel32/tests: Improved tests for the ResolveDelayLoadedAPI callback. 2013-11-12 12:57:54 +01:00
André Hentschel cb1806db26 kernel32/tests: Test ResolveDelayLoadedAPI with generated dll. 2013-11-04 19:15:43 +01:00
Dmitry Timoshkov ddb6632155 kernel32/tests: Fix PE loader tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
André Hentschel 21c3cfe541 kernel32/tests: Add tests for ResolveDelayLoadedAPI. 2013-09-12 11:06:42 +02:00
Alexandre Julliard b0153951f4 kernel32/tests: Increase some wait timeouts. 2013-08-27 21:29:57 +02:00
Dmitry Timoshkov 3d759a0c69 ntdll: NtAllocateVirtualMemory should fail to commit if an address range is already committed for a memory mapped file. 2013-07-19 14:40:17 +02:00
Dmitry Timoshkov e5c55c5a5a kernel32/tests: Add a test for VirtualAlloc called on a mapped PE section. 2013-06-24 23:11:03 +02:00
Dmitry Timoshkov bfcdf6df8e kernel32: Terminate threads before unloading DLLs on process exit. 2013-05-17 12:29:41 +02:00
Dmitry Timoshkov 462ad39949 kernel32: Add a test for holding process heap lock before calling ExitProcess. 2013-05-14 11:33:40 +02:00
Dmitry Timoshkov f435322dfa kernel32: Actually test normal ExitProcess behaviour. 2013-05-10 17:53:08 +02:00
Dmitry Timoshkov 5cbcbdd8a8 kernel32: Remove todo_wine from the now passing test. 2013-05-08 12:44:56 +02:00
Dmitry Timoshkov 94c7992f86 kernel32: DLL entry point is no longer called with PEB lock held. 2013-05-08 12:44:54 +02:00
Dmitry Timoshkov 094e465790 server: A destroyed process handle table means that the process is terminating. 2013-05-08 12:44:49 +02:00
Dmitry Timoshkov c79a514fe5 kernel32: Add more remote process tests. 2013-05-08 12:44:42 +02:00
Dmitry Timoshkov 77f222505c kernel32: Hold PEB lock during process exit. 2013-05-07 11:26:02 +02:00
Dmitry Timoshkov bac0387d29 server: Fail to set process affinity mask if the process is terminating. 2013-05-07 11:25:54 +02:00
Dmitry Timoshkov af3d73b035 server: Add a process flag indicating whether the process is terminating, use it to block thread creation in a being terminated process. 2013-05-07 11:25:49 +02:00
Dmitry Timoshkov 3de37fefce kernel32: Add some tests for PEB and loader locks. 2013-04-30 11:47:26 +02:00
Dmitry Timoshkov fa5c708c41 kernel32/tests: Add some tests for remote process termination. 2013-04-26 11:48:32 +02:00
Dmitry Timoshkov e54c49d940 kernel32: Test LdrShutdownProcess behaviour only after NtTerminateProcess(0) call. 2013-04-25 11:46:09 +02:00
Dmitry Timoshkov cd55afec8a kernel32: Add a test to show that CreateThread is supposed to fail after the NtTerminateProcess call. 2013-04-24 14:34:20 +02:00
Dmitry Timoshkov 59a23fb42f ntdll: Refuse to create new thread if the target process is being terminated. 2013-04-22 12:37:51 +02:00
Dmitry Timoshkov 7de3f1b5b5 kernel32: Check whether FreeLibrary actually has unloaded the module. 2013-04-19 16:16:18 +02:00
Francois Gouget 2baecad2c5 Assorted spelling fixes. 2013-04-18 19:13:16 +02:00
Dmitry Timoshkov b632f0966d kernel32: Count precise amount of child process failures. 2013-04-18 11:54:28 +02:00
Dmitry Timoshkov 3de89e8500 kernel32: Add more process shutdown tests. 2013-04-18 11:54:26 +02:00
Dmitry Timoshkov 5690304c9d kernel32: Add a test to check event, thread, mutex and semaphore states during process termination. 2013-04-17 12:40:39 +02:00
Dmitry Timoshkov b92c82c942 server: Add support for NtTerminateProcess(0). 2013-04-15 16:45:33 +02:00
Dmitry Timoshkov c5fbb4a780 kernel32: Make the ExitProcess test work on x86_64. 2013-04-15 16:03:34 +02:00
Dmitry Timoshkov 521cf664d3 kernel32: Add a test for threads state when a process is being terminated. 2013-04-12 11:49:14 +02:00
André Hentschel 56dbef9b19 kernel32/tests: Remove SPARC support. 2013-03-05 11:01:16 +01:00
André Hentschel 1b440629a6 kernel32/tests: Add ARM64 support. 2013-01-16 12:52:26 +01:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Dmitry Timoshkov 0e7314a298 kernel32: Add a test for LoadLibrary called on a not DLL image. 2012-02-24 09:56:25 +01:00
Dmitry Timoshkov 20093556f9 kernel32: Add a test to show that NtMapViewOfSection should not perform an image relocation. 2012-02-20 11:39:06 +01:00
Dmitry Timoshkov 3a5ee02735 ntdll: Add an access check for file mappings. 2012-01-24 18:10:31 +01:00
Dmitry Timoshkov 332eee4053 ntdll: Replace WRITE by WRITECOPY protection on an image section as Windows does. 2011-12-16 16:38:29 +01:00
Dmitry Timoshkov bb8d47bd30 kernel32: Add a bunch of VirtualProtect tests on an image section. 2011-12-16 16:38:29 +01:00
Dmitry Timoshkov 517d0800df ntdll: Revert 33b0f0edff.
The tests clearly show that this commit is wrong.
2011-11-23 14:14:25 +01:00