Changeset 85127 in vbox for trunk/src/VBox/HostDrivers/Support/SUPR3HardenedNoCrt.cpp
- Timestamp:
- Jul 8, 2020 11:42:18 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedNoCrt.cpp
r85119 r85127 41 41 42 42 /** memcmp */ 43 DECL _HIDDEN_NOTHROW(int) suplibHardenedMemComp(void const *pvDst, const void *pvSrc, size_t cbToComp)43 DECLHIDDEN(int) suplibHardenedMemComp(void const *pvDst, const void *pvSrc, size_t cbToComp) 44 44 { 45 45 size_t const *puDst = (size_t const *)pvDst; … … 75 75 76 76 /** memcpy */ 77 DECL _HIDDEN_NOTHROW(void *) suplibHardenedMemCopy(void *pvDst, const void *pvSrc, size_t cbToCopy)77 DECLHIDDEN(void *) suplibHardenedMemCopy(void *pvDst, const void *pvSrc, size_t cbToCopy) 78 78 { 79 79 size_t *puDst = (size_t *)pvDst; … … 98 98 99 99 /** memset */ 100 DECL _HIDDEN_NOTHROW(void *) suplibHardenedMemSet(void *pvDst, int ch, size_t cbToSet)100 DECLHIDDEN(void *) suplibHardenedMemSet(void *pvDst, int ch, size_t cbToSet) 101 101 { 102 102 uint8_t *pbDst = (uint8_t *)pvDst; … … 112 112 113 113 /** strcpy */ 114 DECL _HIDDEN_NOTHROW(char *) suplibHardenedStrCopy(char *pszDst, const char *pszSrc)114 DECLHIDDEN(char *) suplibHardenedStrCopy(char *pszDst, const char *pszSrc) 115 115 { 116 116 char *pszRet = pszDst; … … 126 126 127 127 /** strlen */ 128 DECL _HIDDEN_NOTHROW(size_t) suplibHardenedStrLen(const char *psz)128 DECLHIDDEN(size_t) suplibHardenedStrLen(const char *psz) 129 129 { 130 130 const char *pszStart = psz; … … 136 136 137 137 /** strcat */ 138 DECL _HIDDEN_NOTHROW(char *) suplibHardenedStrCat(char *pszDst, const char *pszSrc)138 DECLHIDDEN(char *) suplibHardenedStrCat(char *pszDst, const char *pszSrc) 139 139 { 140 140 char *pszRet = pszDst; … … 147 147 148 148 /** strcmp */ 149 DECL _HIDDEN_NOTHROW(int) suplibHardenedStrCmp(const char *psz1, const char *psz2)149 DECLHIDDEN(int) suplibHardenedStrCmp(const char *psz1, const char *psz2) 150 150 { 151 151 for (;;) … … 162 162 163 163 /** strncmp */ 164 DECL _HIDDEN_NOTHROW(int) suplibHardenedStrNCmp(const char *psz1, const char *psz2, size_t cchMax)164 DECLHIDDEN(int) suplibHardenedStrNCmp(const char *psz1, const char *psz2, size_t cchMax) 165 165 { 166 166 while (cchMax-- > 0)
Note:
See TracChangeset
for help on using the changeset viewer.