<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Assertion failure in WalkAST::checkDeprecatedOrUnsafeBufferHandling(...): ArgIndex != UNKNOWN_CALL && "Unsupported function""
   href="https://bugs.llvm.org/show_bug.cgi?id=41185">41185</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion failure in WalkAST::checkDeprecatedOrUnsafeBufferHandling(...): ArgIndex != UNKNOWN_CALL && "Unsupported function"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Static Analyzer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>noqnoqneo@gmail.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alexfh@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dcoughlin@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>$ cat t.c
a() { __builtin_strncpy(a, "", 6); }
$ clang-tidy -checks="-*,clang-analyzer*" t.c --
assert.h assertion failed at
llvm/tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp:753 in
void (anonymous
namespace)::WalkAST::checkDeprecatedOrUnsafeBufferHandling(const
clang::CallExpr *, const clang::FunctionDecl *): ArgIndex != UNKNOWN_CALL &&
"Unsupported function"
    @     0x55b9b02165c6  __assert_fail
    @     0x55b9ae6ce98c  (anonymous
namespace)::WalkAST::checkDeprecatedOrUnsafeBufferHandling()
    @     0x55b9ae6cb313  (anonymous namespace)::WalkAST::VisitCallExpr()
    @     0x55b9ae6cac7c  (anonymous namespace)::WalkAST::VisitCompoundStmt()
    @     0x55b9ae6ca3ff  clang::ento::check::ASTCodeBody::_checkBody<>()
    @     0x55b9ae8e50b2  clang::ento::CheckerManager::runCheckersOnASTBody()
    @     0x55b9ae65aedd  (anonymous namespace)::AnalysisConsumer::HandleCode()
    @     0x55b9ae646784  clang::RecursiveASTVisitor<>::TraverseDecl()
    @     0x55b9ae644844  (anonymous
namespace)::AnalysisConsumer::HandleTranslationUnit()
    @     0x55b9aec5d43c  clang::MultiplexConsumer::HandleTranslationUnit()
    @     0x55b9aedc7e54  clang::ParseAST()</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>