Changeset 66284 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Mar 28, 2017 9:04:15 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strformatrt.cpp
r65642 r66284 252 252 case 'X': 253 253 case 'U': 254 case 'K': 254 255 { 255 256 /* … … 305 306 { STRMEM("I64"), sizeof(int64_t), 10, RTSF_INT, RTSTR_F_VALSIGNED }, 306 307 { STRMEM("I8"), sizeof(int8_t), 10, RTSF_INT, RTSTR_F_VALSIGNED }, 308 { STRMEM("Kv"), sizeof(RTHCPTR), 16, RTSF_INT, RTSTR_F_OBFUSCATE_PTR }, 307 309 { STRMEM("Rv"), sizeof(RTRCPTR), 16, RTSF_INTW, 0 }, 308 310 { STRMEM("Tbool"), sizeof(bool), 10, RTSF_BOOL, 0 }, … … 471 473 472 474 /* 475 * For now don't show the address. 476 */ 477 cch = 0; 478 if (fFlags & RTSTR_F_OBFUSCATE_PTR) 479 { 480 if (fFlags & RTSTR_F_SPECIAL) 481 cch += pfnOutput(pvArgOutput, RT_STR_TUPLE("0x")); 482 483 #ifdef RT_ARCH_X86 484 cch += pfnOutput(pvArgOutput, RT_STR_TUPLE("XXXXXXXX")); 485 #else 486 cch += pfnOutput(pvArgOutput, RT_STR_TUPLE("XXXXXXXXXXXXXXXX")); 487 #endif 488 return cch; 489 } 490 491 /* 473 492 * Format the output. 474 493 */
Note:
See TracChangeset
for help on using the changeset viewer.