Commit Graph

147 Commits

Author SHA1 Message Date
Owen Rudge 1f6d24565c imagehlp: Implement ImageAddCertificate. 2009-12-04 14:34:59 +01:00
Owen Rudge f5ebe032b0 imagehlp: Verify magic numbers and pad certificates to 8 byte boundaries.
Includes checks for 64-bit file structure and avoids repeating header 
checks.
2009-12-04 14:34:59 +01:00
Owen Rudge 8c8b0ebbda imagehlp/tests: Add tests of Image[Add|Get|Remove]Certificate functions. 2009-12-01 15:15:08 +01:00
Alexandre Julliard bceedda955 imagehlp: Forward some more 64-bit functions to dbghelp. 2009-04-23 12:41:42 +02:00
Andrew Nguyen 3999069562 imagehlp: Rectify and add a forward. 2008-11-12 11:49:12 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Aric Stewart 1e3d65dbb8 imagehlp: Improve last error handling in ImageGetCertificateData. 2007-12-12 16:00:08 +01:00
Alexandre Julliard 9fd7032462 imagehlp: Fixed UpdateDebugInfoFile definition. 2007-10-02 14:58:10 +02:00
Juan Lang 01b083c575 imagehlp: Move WIN_CERTIFICATE types to wintrust.h, and rename a type, to match PSDK. 2007-08-28 11:56:37 +02:00
Francois Gouget b86570d136 imagehlp: Better match the PSDK types, especially with regards to constness.
Add many missing prototypes which we already had in dbghelp.h, and their related structures.
Update win32.api to fix the winapi_check warnings.
2007-08-06 12:31:45 +02:00
Francois Gouget 7a70f9f511 imagehlp: Add two missing fields. 2007-08-03 12:41:33 +02:00
Andrew Talbot 01f3648ef7 imagehlp: Exclude unused headers. 2007-05-07 20:34:11 +02:00
Huw Davies ddb564bfe2 imagehlp: Add support for the indices array passed to ImageEnumerateCertificates. 2007-04-13 13:19:35 +02:00
Dan Kegel 71971409c8 imagehlp: BindImageEx stub should report success. 2007-04-02 11:29:47 +02:00
Eric Pouech a6fd78d9a3 imagehlp: Added a few more forward definitions to dbghelp. 2007-03-13 21:02:50 +01:00
Vitaliy Margolen bea5199b6f imagehlp: Forward already implemented functions to dbghelp. 2007-02-26 13:58:05 +01:00
Eric Pouech bcc1913354 dbghelp: Implemented FindExecutableImage[W]. 2007-02-22 11:39:52 +01:00
Eric Pouech 2d6e914bc0 imagehlp: Make use of the bReadOnly parameter in MapAndLoad. 2007-01-04 21:36:33 +01:00
Eric Pouech 4950d3deb2 imagehlp: Correctly handle files without NT headers in MapAndLoad. 2007-01-04 21:36:02 +01:00
Eric Pouech 5dbb25170e imagehlp: Fixed computation of SizeOfImage in MapAndLoad. 2007-01-04 21:35:37 +01:00
Kai Blin b52983cb9d imagehelp: Remove unused if() check in error path. 2007-01-02 13:30:12 +01:00
Eric Pouech 8ca3ca5a56 imagehlp: MapAndLoad should do some useful stuff now. 2006-12-04 12:22:24 +01:00
Francois Gouget 58162f87fd Assorted spelling fixes. 2006-10-13 11:55:04 +02:00
Michael Stefaniuc 56c90105b7 imagehlp: Win64 printf format warning fixes. 2006-10-09 12:55:23 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Marcus Meissner 0c15360a3e Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes. 2006-09-11 11:30:48 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Paul Vriens 47c3663bec imagehlp: Fixed typo (Coverity). 2006-06-27 11:14:01 +02:00
Paul Vriens 7c6febe6eb imagehlp: Fixed typo (Coverity). 2006-06-26 12:35:55 +02:00
Alexandre Julliard ba5efc6c76 imagehlp: Remove the unused internal.c file. 2006-06-10 12:02:14 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vitaliy Margolen 33832c95d8 imagehlp: Forward StackWalk64 to dbghelp.StackWalk64. 2005-12-17 12:24:46 +01:00
Wojciech Migda c8c52d7979 imagehlp: fixed typo in SymSetOptions entry. 2005-12-05 20:38:45 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard f84401aa17 Sort entry points in the same order as Windows. 2005-06-23 09:57:11 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Christian Costa 5102cb53af Fixed some forwards. 2004-11-19 17:53:47 +00:00
Thomas Weidenmueller 02aa8d50af Implementation of TouchFileTimes(), thanks to Florian Stinglmayr for
submitting a rough draft.
2004-07-30 04:22:44 +00:00
Mike McCormack fd941d4d78 Implement ImageEnumerateCertificates and ImageGetCertificateHeader. 2004-05-11 22:17:49 +00:00
Eric Pouech c2d7faeec3 Updated to latest version's exports, and added a few more forwards. 2004-04-13 21:16:58 +00:00
Eric Pouech f35d1caeef Moved quite a few functions to dbghelp (removed debug.c and symbol.c
files).
2004-04-05 22:50:45 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Marcus R. Brown 76fc417588 Replace various routines with a forward to ntdll. 2003-11-21 21:31:35 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Steven Edwards ad4a2b9064 Bring imagehlp (mostly) inline with the PSDK and Mingw. 2003-10-09 19:45:07 +00:00
Mike McCormack 741e1fc82f Implemented ImageGetCertificateData. 2003-09-16 20:26:52 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Christian Costa 9650db497b Allocate space to contain the IMAGE_NT_HEADERS structure (ImageLoad
function).
Add some more traces.
2003-08-19 00:57:29 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Alexandre Julliard 0643acd576 Removed Wine-specific definition from exported header (spotted by
Steven Edwards).
2003-06-27 22:24:23 +00:00
P. Christeas 9d50dccbdc Implemented MakeSureDirectoryPathExists. 2003-03-27 00:01:28 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Michael Stefaniuc 9a7bc34c44 Compile the imagehlp dll with STRICT defined. 2002-10-22 00:45:27 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard 613ead7f0f Fixed some handle conversions in prevision of void* handles. 2002-10-04 00:27:10 +00:00
Steven Edwards 6123951a29 Update some .cvsignore files for building on Windows. 2002-08-30 00:04:03 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Eric Kohl 758c3841cb Implemented PE file checksum calculation. 2000-11-25 01:28:09 +00:00
Alexandre Julliard c95b1aa37f Avoid linking with ntdll where possible. 2000-11-16 04:15:08 +00:00
Alexandre Julliard 8c540c657e Replaced a few internal functions by exported ones. 2000-11-13 04:16:05 +00:00
Alexandre Julliard 27939f00fd Start using import tables for dlls that can already support it. 2000-11-12 03:50:10 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard e514103971 Added imports of kernel32.dll where necessary. 2000-08-06 03:47:29 +00:00
Alexandre Julliard 6953d6756c For dlls, derive SPEC_SRCS from MODULE and ALTNAMES. 2000-06-20 20:24:14 +00:00
Patrik Stridvall b905023c74 Fixed some debug messages. 2000-05-11 21:48:28 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Alexandre Julliard 318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +00:00
Patrik Stridvall 3e1be2679a Fixed some issues found by winapi_check. 2000-01-08 22:21:15 +00:00
Alexandre Julliard 6f715732e7 Make use of automatic ordinal allocation. 2000-01-01 22:06:18 +00:00
Ulrich Weigand daed93ee99 Moved .spec files to corresponding dlls/ directory. 1999-07-25 13:14:13 +00:00
Alexandre Julliard 9fe7a2545a Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-14 08:17:14 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Patrik Stridvall 091e78564d Started the implementation of IMAGEHLP.DLL. 1998-10-11 17:04:17 +00:00