Changeset 66415 in vbox for trunk/src/VBox/Runtime/common/string/strformatrt.cpp
- Timestamp:
- Apr 4, 2017 1:17:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strformatrt.cpp
r66304 r66415 365 365 int32_t i32; 366 366 int64_t i64; 367 RTR0INTPTR uR0Ptr; 367 368 RTFAR16 fp16; 368 369 RTFAR32 fp32; … … 478 479 if (fFlags & RTSTR_F_OBFUSCATE_PTR) 479 480 { 480 # if R0_ARCH_BITS == 64 481 static const char s_szObfuscated[] = "0xXXXXXXXXXXXXXXXX"; 482 # else 483 static const char s_szObfuscated[] = "0xXXXXXXXX"; 484 # endif 485 if (fFlags & RTSTR_F_SPECIAL) 486 return pfnOutput(pvArgOutput, s_szObfuscated, sizeof(s_szObfuscated) - 1); 487 return pfnOutput(pvArgOutput, &s_szObfuscated[2], sizeof(s_szObfuscated) - 1 - 2); 481 cch = rtStrFormatKernelAddress(szBuf, sizeof(szBuf), u.uR0Ptr, cchWidth, cchPrecision, fFlags); 482 return pfnOutput(pvArgOutput, szBuf, cch); 488 483 } 489 484 #endif
Note:
See TracChangeset
for help on using the changeset viewer.