Мы используем куки, чтобы пользоваться сайтом было удобно.
Хорошо
to the top
>
>
>
Примеры ошибок, обнаруженных с...

Примеры ошибок, обнаруженных с помощью диагностики V1109

V1109. Function is deprecated. Consider switching to an equivalent newer function.


GmSSL

V1109 The 'CryptAcquireContextA' function is deprecated. Consider switching to an equivalent newer function. rand_win.c 32


int rand_bytes(uint8_t *buf, size_t len)
{
  ....
  if (CryptAcquireContextA(&hCryptProv, NULL, NULL, PROV_RSA_FULL,
    CRYPT_VERIFYCONTEXT|CRYPT_SILENT) != TRUE) {
    error_print();
    return -1;
  }
  ....
}

Similar errors can be found in some other places:

  • V1109 The 'CryptGenRandom' function is deprecated. Consider switching to an equivalent newer function. rand_win.c 37
  • V1109 The 'CryptReleaseContext' function is deprecated. Consider switching to an equivalent newer function. rand_win.c 43

CPython

V1109 The 'PathRemoveFileSpecW' function is deprecated. Consider switching to an equivalent newer function. pyshellext.cpp 464


class DECLSPEC_UUID(CLASS_GUID) PyShellExt : public RuntimeClass<
  RuntimeClassFlags<ClassicCom>,
  IDropTarget,
  IPersistFile
>
{
public:
  STDMETHODIMP Load(LPCOLESTR pszFileName, DWORD dwMode) {
    ....
    if (!PathRemoveFileSpecW(target_dir)) {
        OutputDebugStringW(
          L"PyShellExt::Load - failed to remove filespec from target"
        );
        return E_FAIL;
    }
    ....
  }
}

TDengine

V1109 The 'CryptGenRandom' function is deprecated. Consider switching to an equivalent newer function. osRand.c 56


uint32_t taosSafeRand(void) {
  ....
  if (!CryptGenRandom(hCryptProv, 4, &seed)) return seed;
  ....
}

Similar errors can be found in some other places:

  • V1109 The 'CryptAcquireContextA' function is deprecated. Consider switching to an equivalent newer function. osRand.c 50
  • V1109 The 'CryptAcquireContextA' function is deprecated. Consider switching to an equivalent newer function. osRand.c 51
  • V1109 The 'CryptReleaseContext' function is deprecated. Consider switching to an equivalent newer function. osRand.c 58

x64dbg

V1109 The 'InitCommonControls' function is deprecated. Consider switching to an equivalent newer function. x64dbg_launcher.cpp 426


int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
                     LPSTR lpCmdLine, int nShowCmd)
{
  InitCommonControls();
  ....
}

Similar errors can be found in some other places:

  • V1109 The 'PathRemoveFileSpecW' function is deprecated. Consider switching to an equivalent newer function. x64dbg_launcher.cpp 114
  • V1109 The 'PathRemoveFileSpecW' function is deprecated. Consider switching to an equivalent newer function. x64dbg_launcher.cpp 479
  • V1109 The 'PathRemoveFileSpecW' function is deprecated. Consider switching to an equivalent newer function. x64dbg_launcher.cpp 503