Changeset 3526 for trunk/kProfile/dbgmodule.cpp
- Timestamp:
- Aug 20, 2007, 12:46:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kProfile/dbgmodule.cpp
r3524 r3526 29 29 * Header Files * 30 30 *******************************************************************************/ 31 #include <iprt/file.h> 32 #include <iprt/string.h> 33 #include <iprt/err.h> 34 #include <iprt/assert.h> 35 #include <iprt/alloc.h> 36 31 #ifdef KDBG_USE_IPRT 32 # include <iprt/file.h> 33 # include <iprt/string.h> 34 # include <iprt/err.h> 35 # include <iprt/assert.h> 36 # include <iprt/alloc.h> 37 #else 38 #endif 39 40 #include "kDbgBase.h" 37 41 #include "DBGInternal.h" 38 #include "internal/ldrMZ.h"39 #include "internal/ldrPE.h"42 #include <kLdrModMZ.h> 43 #include <kLdrModPE.h> 40 44 41 45 … … 79 83 /* new header? */ 80 84 uint32_t offNewHeader; 81 rc = RTFileReadAt(File, OFFSETOF(IMAGE_DOS_HEADER, e_lfanew), &offNewHeader, sizeof(offNewHeader), NULL);85 rc = RTFileReadAt(File, KDBG_OFFSETOF(IMAGE_DOS_HEADER, e_lfanew), &offNewHeader, sizeof(offNewHeader), NULL); 82 86 if (RT_SUCCESS(rc) && offNewHeader) 83 87 {
Note:
See TracChangeset
for help on using the changeset viewer.