Changeset 75244 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Nov 3, 2018 3:05:11 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgmodcodeview.cpp
r74981 r75244 1750 1750 /* 1751 1751 * 32-bit type (reading too much for NB04 is no problem). 1752 * 1753 * Note! The watcom linker (v1.9) seems to overwrite the directory 1754 * header and more under some conditions. So, if this code fails 1755 * you might be so lucky as to have reproduce that issue... 1752 1756 */ 1753 1757 RTCVDIRHDR32EX DirHdr; … … 1758 1762 && DirHdr.Core.cbHdr != sizeof(DirHdr)) 1759 1763 { 1760 Log(("Unexpected CV directory size: %#x \n", DirHdr.Core.cbHdr));1764 Log(("Unexpected CV directory size: %#x [wlink screwup?]\n", DirHdr.Core.cbHdr)); 1761 1765 rc = VERR_CV_BAD_FORMAT; 1762 1766 } … … 1765 1769 || DirHdr.fFlags != 0) ) 1766 1770 { 1767 Log(("Extended CV directory headers fields are not zero: fFlags=%#x offNextDir=%#x \n",1771 Log(("Extended CV directory headers fields are not zero: fFlags=%#x offNextDir=%#x [wlink screwup?]\n", 1768 1772 DirHdr.fFlags, DirHdr.offNextDir)); 1769 1773 rc = VERR_CV_BAD_FORMAT; … … 1771 1775 if (DirHdr.Core.cbEntry != sizeof(RTCVDIRENT32)) 1772 1776 { 1773 Log(("Unexpected CV directory entry size: %#x (expected %#x) \n", DirHdr.Core.cbEntry, sizeof(RTCVDIRENT32)));1777 Log(("Unexpected CV directory entry size: %#x (expected %#x) [wlink screwup?]\n", DirHdr.Core.cbEntry, sizeof(RTCVDIRENT32))); 1774 1778 rc = VERR_CV_BAD_FORMAT; 1775 1779 } 1776 1780 if (DirHdr.Core.cEntries < 2 || DirHdr.Core.cEntries >= _512K) 1777 1781 { 1778 Log(("CV directory count is out of considered valid range: %#x \n", DirHdr.Core.cEntries));1782 Log(("CV directory count is out of considered valid range: %#x [wlink screwup?]\n", DirHdr.Core.cEntries)); 1779 1783 rc = VERR_CV_BAD_FORMAT; 1780 1784 } … … 2882 2886 if (pCvHdr->off < cb && pCvHdr->off >= sizeof(*pCvHdr)) 2883 2887 { 2884 Log(("RTDbgModCv: Found %c%c%c%c at %# RTfoff- size %#x, directory at %#x. file type %d\n",2888 Log(("RTDbgModCv: Found %c%c%c%c at %#x - size %#x, directory at %#x. file type %d\n", 2885 2889 RT_BYTE1(pCvHdr->u32Magic), RT_BYTE2(pCvHdr->u32Magic), RT_BYTE3(pCvHdr->u32Magic), RT_BYTE4(pCvHdr->u32Magic), 2886 2890 off, cb, pCvHdr->off, enmFileType));
Note:
See TracChangeset
for help on using the changeset viewer.