Changeset 89895 in vbox for trunk/src/VBox/Runtime/common/dbg
- Timestamp:
- Jun 24, 2021 6:24:12 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgmodghidra.cpp
r89882 r89895 246 246 pelmSym->getAttributeValue("name", &pszSymName); 247 247 248 if (pszSymName) 248 if ( pszSymName 249 && strlen(pszSymName) < RTDBG_SYMBOL_NAME_LENGTH) 249 250 { 250 251 uint64_t u64Addr = 0; … … 254 255 { 255 256 int rc = RTDbgModSymbolAdd(hCnt, pszSymName, RTDBGSEGIDX_RVA, u64Addr, u64Length, 0 /*fFlags*/, NULL); 256 if ( RT_FAILURE(rc) 257 && rc != VERR_DBG_DUPLICATE_SYMBOL 258 && rc != VERR_DBG_ADDRESS_CONFLICT) /* (don't be too strict) */ 257 if ( RT_FAILURE(rc) 258 && rc != VERR_DBG_DUPLICATE_SYMBOL 259 && rc != VERR_DBG_ADDRESS_CONFLICT 260 && rc != VERR_DBG_INVALID_RVA) /* (don't be too strict) */ 259 261 return rc; 260 262 } … … 380 382 * Fend off images. 381 383 */ 382 if ( !pMod->pszDbgFile 383 || pMod->pImgVt) 384 if (!pMod->pszDbgFile) 384 385 return VERR_DBG_NO_MATCHING_INTERPRETER; 385 386 pMod->pvDbgPriv = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.