Commit Graph

147 Commits

Author SHA1 Message Date
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Bernhard Reiter d129a89d22 imagehlp: Partially implement BindImageEx().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=3591
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-15 10:59:05 +01:00
Zebediah Figura 4782b08f31 imagehlp/tests: Rewrite test_bind_image_ex() using a DLL resource.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-15 10:56:20 +01:00
Zebediah Figura 803730ca87 imagehlp/tests: Use ImageNtHeader instead of RtlImageNtHeader.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-15 10:55:55 +01:00
Zebediah Figura 670913af21 imagehlp/tests: Link directly to imagehlp and psapi.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-15 10:55:51 +01:00
Alexandre Julliard dffa0b0210 imagehlp/tests: Remove a workaround for Win95.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 23:40:41 +02:00
Alexandre Julliard 4bc3657962 imagehlp: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 09:00:49 +02:00
Alexandre Julliard 1459a0105d makefiles: Default to building test modules as PE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:45:59 +02:00
Francois Gouget cead1ded9a imagehlp/tests: Add a trailing '\n' to some ok() calls.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 21:54:32 +02:00
Vijay Kiran Kamuju 602ff38cdd imagehlp/tests: Add initial tests for CheckSumMappedFile.
Based on a patch by Michael Müller.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:24:10 +01:00
Alexandre Julliard e4b2b82e6c imagehlp: Get rid of the custom heap.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 22:13:10 +01:00
Michael Müller 55a62c739c imagehlp: Implement ImageLoad and cleanup ImageUnload.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 22:13:10 +01:00
Mark Jansen 3eca7c1f8e imagehlp/tests: Add tests for ImageLoad, ImageUnload, GetImageUnusedHeaderBytes.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 22:13:10 +01:00
Michael Stefaniuc f5e5549008 imagehlp/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 23:50:15 +02:00
Mark Jansen 34aae11c4c imagehlp/tests: MSVC compatibility fixes.
Signed-off-by: Mark Jansen <mark.jansen@reactos.org>
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-23 08:59:09 +01:00
Frédéric Delanoy 70e2aa7fdb imagehlp/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:04 +09:00
Michael Müller b741180b3a imagehlp: Remove unused structure. 2015-08-12 22:54:24 +09:00
Bernhard Reiter 0b2e7de7b4 imagehlp/tests: Add test for BindImageEx with NULL as StatusRoutine. 2014-08-18 12:46:34 +02:00
Bernhard Reiter bdeb761357 imagehlp/tests: Add test for BindImageEx. 2014-08-07 21:36:31 +02:00
Huw Davies 38483f1efe imagehlp/tests: Don't assume the certificate chain is originally empty. 2014-05-09 14:24:26 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 3ad692d483 imagehlp/tests: Constify some character strings. 2013-12-24 11:22:03 +01:00
Frédéric Delanoy abd0c343fc imagehlp/tests: Use BOOL type where appropriate. 2013-11-01 10:52:46 +01:00
Nikolay Sivov 94c0604e81 imagehlp/tests: Compile with -D__WINESRC__. 2013-10-16 11:41:19 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Alexandre Julliard 4d9dbfc3fb imagehlp: Don't bother to free memory at process exit. 2013-05-17 12:26:31 +02:00
Piotr Caban 60cf24a972 imagehlp: Match parameters list with function we're forwarding to. 2013-03-27 12:07:41 +01:00
Andrew Talbot 4a79345d91 imagehlp: Remove unused variable. 2012-11-26 11:52:35 +01:00
Thomas Faber fd181c4937 imagehlp: Do not pass NULL to WriteFile as lpNumberOfBytesWritten. 2012-06-21 08:36:04 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Marcus Meissner 9d5db69f50 imagehlp: Mark internal variable as hidden visibility. 2011-05-19 10:05:27 +02:00
Piotr Caban 0cd94ac51f imagehlp: Set Index in ImageAddCertificate function. 2011-05-03 19:34:29 +02:00
Joris Huizer 922d1d88e8 imagehlp/tests: Don't test function directly when reporting GetLastError(). 2011-02-07 10:04:05 -06:00
André Hentschel 82efaae0a2 imagehlp: Use define instead of hardcoded value. 2011-01-11 11:23:18 +01:00
André Hentschel 9571e4f29f imagehlp/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:43:55 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 352a876f91 dbghelp: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Andrey Turkin cb2ce2f371 imagehlp: Remove uninitialized variable. 2010-08-02 12:55:21 +02:00
Andrey Turkin d9cc69be5b imagehlp: Implement ImageGetDigestStream.
Mostly based on patch from Juan Lang.
2010-07-30 14:59:41 +02:00
Andrey Turkin 682f6adcbf imagehlp: Add tests for ImageGetDigestStream.
Based on a patch by Juan Lang.
2010-07-30 14:59:41 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 780ae3a6e4 imagehlp/tests: Fix a test failure on Win95. 2009-12-23 15:45:44 +01:00
Paul Vriens f976907d4f imagehlp/tests: Run tests again on Win95. 2009-12-10 12:39:23 +01:00
Owen Rudge b49cc56614 imagehlp: Recalculate PE checksum after file modification. 2009-12-07 09:33:29 +01:00
Owen Rudge ba5a86e349 imagehlp: Check for 64-bit PE files in CheckSumMappedFile. 2009-12-07 09:33:07 +01:00
Owen Rudge b277012765 imagehlp/tests: Add tests for adding/removing multiple certificates. 2009-12-07 09:32:40 +01:00
Owen Rudge 5bcc37a9fd imagehlp: Implement ImageRemoveCertificate. 2009-12-07 09:32:29 +01:00