VirtualBox

Changeset 85119 in vbox


Ignore:
Timestamp:
Jul 8, 2020 7:13:36 PM (4 years ago)
Author:
vboxsync
Message:

SUPHard: DECL_HIDDEN_NOTHROW. bugref:9794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedNoCrt.cpp

    r82968 r85119  
    4141
    4242/** memcmp */
    43 DECLHIDDEN(int) suplibHardenedMemComp(void const *pvDst, const void *pvSrc, size_t cbToComp)
     43DECL_HIDDEN_NOTHROW(int) suplibHardenedMemComp(void const *pvDst, const void *pvSrc, size_t cbToComp)
    4444{
    4545    size_t const   *puDst = (size_t const *)pvDst;
     
    7575
    7676/** memcpy */
    77 DECLHIDDEN(void *) suplibHardenedMemCopy(void *pvDst, const void *pvSrc, size_t cbToCopy)
     77DECL_HIDDEN_NOTHROW(void *) suplibHardenedMemCopy(void *pvDst, const void *pvSrc, size_t cbToCopy)
    7878{
    7979    size_t         *puDst = (size_t *)pvDst;
     
    9898
    9999/** memset */
    100 DECLHIDDEN(void *) suplibHardenedMemSet(void *pvDst, int ch, size_t cbToSet)
     100DECL_HIDDEN_NOTHROW(void *) suplibHardenedMemSet(void *pvDst, int ch, size_t cbToSet)
    101101{
    102102    uint8_t *pbDst = (uint8_t *)pvDst;
     
    112112
    113113/** strcpy */
    114 DECLHIDDEN(char *) suplibHardenedStrCopy(char *pszDst, const char *pszSrc)
     114DECL_HIDDEN_NOTHROW(char *) suplibHardenedStrCopy(char *pszDst, const char *pszSrc)
    115115{
    116116    char *pszRet = pszDst;
     
    126126
    127127/** strlen */
    128 DECLHIDDEN(size_t) suplibHardenedStrLen(const char *psz)
     128DECL_HIDDEN_NOTHROW(size_t) suplibHardenedStrLen(const char *psz)
    129129{
    130130    const char *pszStart = psz;
     
    136136
    137137/** strcat */
    138 DECLHIDDEN(char *) suplibHardenedStrCat(char *pszDst, const char *pszSrc)
     138DECL_HIDDEN_NOTHROW(char *) suplibHardenedStrCat(char *pszDst, const char *pszSrc)
    139139{
    140140    char *pszRet = pszDst;
     
    147147
    148148/** strcmp */
    149 DECLHIDDEN(int) suplibHardenedStrCmp(const char *psz1, const char *psz2)
     149DECL_HIDDEN_NOTHROW(int) suplibHardenedStrCmp(const char *psz1, const char *psz2)
    150150{
    151151    for (;;)
     
    162162
    163163/** strncmp */
    164 DECLHIDDEN(int) suplibHardenedStrNCmp(const char *psz1, const char *psz2, size_t cchMax)
     164DECL_HIDDEN_NOTHROW(int) suplibHardenedStrNCmp(const char *psz1, const char *psz2, size_t cchMax)
    165165{
    166166    while (cchMax-- > 0)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette