On Windows, when impellerc is blocked by Windows Defender Application Control (WDAC) or Smart App Control (SAC), it throws a ProcessException with error code 4551. Currently, ShaderCompiler._isBlockedBySecurityPolicy only checks for error code 1260. We should update the tool to also check for 4551 and exit gracefully.
Note: This issue was identified as a top-10 crasher in the Flutter stable release version 3.44.8.
On Windows, when impellerc is blocked by Windows Defender Application Control (WDAC) or Smart App Control (SAC), it throws a ProcessException with error code 4551. Currently, ShaderCompiler._isBlockedBySecurityPolicy only checks for error code 1260. We should update the tool to also check for 4551 and exit gracefully.
Note: This issue was identified as a top-10 crasher in the Flutter stable release version 3.44.8.