Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.6 KiB

4 years ago
  1. OEM DBI KIT 4.1
  2. 26-Feb-1996
  3. Contents
  4. oemdbi.doc // MS Word 6.0 overview document
  5. // (sorry it still does not yet provide per-function
  6. // semantics)
  7. oemdbi.h // read-only C API subset of DBI API
  8. cvinfo.h // CV4 symbol and types structures
  9. mspdb41.dll // a not-official build of the VC++ 4.0 PDB DLL, which implements a superset of the DBI API
  10. mspdb41.lib // its import library
  11. msdbi41.dll // DBI-only build of mspdb41.dll, requires msvcrt41.dll
  12. msdbi41.lib // its import library
  13. msdbi41c.dll // DBI-only build of mspdb41.dll, does not require msvcrt41.dll
  14. msdbi41l.lib // DBI-only build of mspdb41.dll, as a regular library
  15. hello.cpp // sample program
  16. hello.exe // sample exe with NB10 debug info in its pdb
  17. hello.pdb // sample VC4.0 program database
  18. hello_2.pdb // sample VC2.0 program database
  19. pdbdump.cpp // source to pdbdump.exe
  20. pdbdump.exe // sample program which uses DBI API to dump information
  21. // from a pdb
  22. Release 0.3 fixes a bug in dbi.dll: if
  23. 1. a Mod* was opened using DBIOpenMod(), DBIQueryNextMod(), or
  24. DBIQueryModFromAddr(), and
  25. 2. that Mod* was subsequently closed using ModClose(), and
  26. 3. that Mod* was reopened using DBIOpenMod(), DBIQueryNextMod(), or
  27. DBIQueryModFromAddr(),
  28. the resulting Mod* was actually not reopened properly. Any use
  29. of the resulting Mod* with Mod routines such as ModQuerySymbols()
  30. would fault.
  31. Since VC2 shipped with this bug, it is recommended you either
  32. 1. avoid the problem (defer calling ModClose() until DBIClose() time), or
  33. 2. use the enclosed dbi_lib.lib, or
  34. 3. (less desirable) install the enclosed dbi.dll over the existing
  35. dbi.dll.
  36. Release 0.4 fixes a doc bug: PDBOpenValidate's second parameter is
  37. 'szExeDir', the directory the .exe was found in. To this PDBOpenValidate
  38. appends the basename of the 'szPDB' first parameter. If the PDB
  39. is not found there, then we try to open the PDB at 'szPDB' itself.
  40. Release 4.0 is compatible with the VC++ 4.0 PDB format, and remains backwards
  41. compatible with the VC++ 2.0 PDB format.
  42. Note there has been an API change to ModQuerySecContrib, which now has a new OUT parameter,
  43. *pdwCharacteristics, to obtain the Characteristics attribute of that section
  44. (see winnt.h, _IMAGE_SECTION_HEADER::Characteristics).
  45. was PDBAPI( BOOL ) ModQuerySecContrib(Mod* pmod, OUT ISECT* pisect, OUT OFF* poff, OUT CB* pcb);
  46. is PDBAPI( BOOL ) ModQuerySecContrib(Mod* pmod, OUT ISECT* pisect, OUT OFF* poff, OUT CB* pcb, OUT ULONG* pdwCharacteristics);
  47. Please direct questions and comments to [email protected] and
  48. [email protected].