@@ -359,7 +359,7 @@ namespace Security
359359 }
360360
361361 // Clean path helper
362- [[nodiscard]] std::wstring CleanPathSegments (const std::wstring& path) noexcept
362+ [[nodiscard]] std::wstring CleanPathSegments (const std::wstring& path)
363363 {
364364 std::wstring cleanPath;
365365 cleanPath.reserve (path.length ());
@@ -396,7 +396,7 @@ namespace Security
396396 }
397397
398398 // Validate environment variables for security
399- bool ValidateEnvironment () noexcept
399+ bool ValidateEnvironment ()
400400 {
401401 // Check for dangerous environment variables
402402 constexpr const wchar_t * dangerousVars[] = {L" LD_PRELOAD" , L" LD_LIBRARY_PATH" , L" _NT_SYMBOL_PATH" , L" _NT_ALT_SYMBOL_PATH" ,
@@ -451,7 +451,7 @@ namespace Security
451451 }
452452
453453 // Verify digital signature of a file
454- [[nodiscard]] bool VerifyFileSignature (const SString& strFilePath) noexcept
454+ [[nodiscard]] bool VerifyFileSignature (const SString& strFilePath)
455455 {
456456 const std::wstring wstrFilePath = FromUTF8 (strFilePath);
457457
@@ -510,7 +510,7 @@ namespace Security
510510 }
511511
512512 // Enhanced path validation with canonicalization
513- [[nodiscard]] bool IsValidPath (const SString& strPath) noexcept
513+ [[nodiscard]] bool IsValidPath (const SString& strPath)
514514 {
515515 if (strPath.empty () || strPath.length () > SecurityConstants::MAX_PATH_LENGTH)
516516 return false ;
@@ -659,14 +659,14 @@ namespace Security
659659 }
660660
661661 // Secure DLL loading with file locking
662- [[nodiscard]] HMODULE SecureLoadLibraryWithLockImpl (const SString& strDllPath, DWORD dwFlags) noexcept
662+ [[nodiscard]] HMODULE SecureLoadLibraryWithLockImpl (const SString& strDllPath, DWORD dwFlags)
663663 {
664664 // Convert to wide string and call the SEH-safe helper
665665 std::wstring widePath = FromUTF8 (strDllPath);
666666 return LoadLibraryWithLock (widePath.c_str (), dwFlags);
667667 }
668668
669- [[nodiscard]] HMODULE SecureLoadLibrary (const SString& strDllPath, const SString& strDllName) noexcept
669+ [[nodiscard]] HMODULE SecureLoadLibrary (const SString& strDllPath, const SString& strDllName)
670670 {
671671 if (!IsValidPath (strDllPath) || !IsValidDllName (strDllName))
672672 {
0 commit comments