Changeset 46180 in vbox
- Timestamp:
- May 20, 2013 9:40:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h
r46164 r46180 771 771 RT_ZERO(DbgInfo.u); 772 772 DbgInfo.enmType = RTLDRDBGINFOTYPE_DWARF_DWO; 773 DbgInfo.pszExtFile = (const char *)((uintptr_t)pModElf->pvBits + paShdrs[iShdr].sh_offset);773 DbgInfo.pszExtFile = (const char *)((uintptr_t)pModElf->pvBits + (uintptr_t)paShdrs[iShdr].sh_offset); 774 774 if (!RTStrEnd(DbgInfo.pszExtFile, paShdrs[iShdr].sh_size)) 775 775 return VERR_BAD_EXE_FORMAT; 776 DbgInfo.u.Dwo.uCrc32 = *(uint32_t *)((uintptr_t)DbgInfo.pszExtFile + paShdrs[iShdr].sh_size - sizeof(uint32_t)); 776 DbgInfo.u.Dwo.uCrc32 = *(uint32_t *)((uintptr_t)DbgInfo.pszExtFile + (uintptr_t)paShdrs[iShdr].sh_size 777 - sizeof(uint32_t)); 777 778 DbgInfo.offFile = -1; 778 779 DbgInfo.cb = 0;
Note:
See TracChangeset
for help on using the changeset viewer.