Changeset 85119 in vbox
- Timestamp:
- Jul 8, 2020 7:13:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedNoCrt.cpp
r82968 r85119 41 41 42 42 /** memcmp */ 43 DECL HIDDEN(int) suplibHardenedMemComp(void const *pvDst, const void *pvSrc, size_t cbToComp)43 DECL_HIDDEN_NOTHROW(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(void *) suplibHardenedMemCopy(void *pvDst, const void *pvSrc, size_t cbToCopy)77 DECL_HIDDEN_NOTHROW(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(void *) suplibHardenedMemSet(void *pvDst, int ch, size_t cbToSet)100 DECL_HIDDEN_NOTHROW(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(char *) suplibHardenedStrCopy(char *pszDst, const char *pszSrc)114 DECL_HIDDEN_NOTHROW(char *) suplibHardenedStrCopy(char *pszDst, const char *pszSrc) 115 115 { 116 116 char *pszRet = pszDst; … … 126 126 127 127 /** strlen */ 128 DECL HIDDEN(size_t) suplibHardenedStrLen(const char *psz)128 DECL_HIDDEN_NOTHROW(size_t) suplibHardenedStrLen(const char *psz) 129 129 { 130 130 const char *pszStart = psz; … … 136 136 137 137 /** strcat */ 138 DECL HIDDEN(char *) suplibHardenedStrCat(char *pszDst, const char *pszSrc)138 DECL_HIDDEN_NOTHROW(char *) suplibHardenedStrCat(char *pszDst, const char *pszSrc) 139 139 { 140 140 char *pszRet = pszDst; … … 147 147 148 148 /** strcmp */ 149 DECL HIDDEN(int) suplibHardenedStrCmp(const char *psz1, const char *psz2)149 DECL_HIDDEN_NOTHROW(int) suplibHardenedStrCmp(const char *psz1, const char *psz2) 150 150 { 151 151 for (;;) … … 162 162 163 163 /** strncmp */ 164 DECL HIDDEN(int) suplibHardenedStrNCmp(const char *psz1, const char *psz2, size_t cchMax)164 DECL_HIDDEN_NOTHROW(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.