Add new test for detecting integer overflow in go code
authorSteve McIntyre <steve@einval.com>
Sun, 23 Dec 2018 16:07:01 +0000 (16:07 +0000)
committerSteve McIntyre <steve@einval.com>
Sun, 23 Dec 2018 16:07:01 +0000 (16:07 +0000)
bin/analyze_results

index 3c83fd4..554c76b 100755 (executable)
@@ -384,6 +384,15 @@ my @logcheck = (
        type     => ERR_BUILD_PROBLEM,
     },
     {
+       # Build failure
+       string   => 'constant \d+ overflows.*int',
+       message  => 'Go 32-bit integer overflow',
+       check    => 1,
+       stop     => 0,
+       analyze  => 1,
+       type     => ERR_BUILD_PROBLEM,
+    },
+    {
        # Test failure
        string   => 'OSError: \[Errno 13\] Permission denied',
        message  => 'Python EPERM test failure',