Skip to content

-analyzer-check-objc-mem -analyzer-experimental-checks: Segmentation fault (core dumped) #8453

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 8081
Resolution FIXED
Resolved on Sep 07, 2010 15:45
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @tkremenek

Extended Description

cat tst.c

#include <stdio.h>

void new_fseek(FILE *stream, long offset, int whence)
{
fseek(stream, offset, whence);
}

clang --version

clang version 2.8 (trunk 113069)
Target: i386-pc-linux-gnu
Thread model: posix

/usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze -analyzer-check-objc-mem -analyzer-experimental-checks tst.c

0 clang 0x09094be8
Stack dump:
0. Program arguments: /usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze -analyzer-check-objc-mem -analyzer-experimental-checks tst.c

  1.  <eof> parser at end of file
    
  2.  tst.c:5:3: Error evaluating statement
    
  3.  tst.c:5:3: Error evaluating statement
    

Segmentation fault (core dumped)

/usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze -analyzer-experimental-checks tst.c

/usr/src/llvm/Release+Asserts/bin/clang -cc1 -analyze -analyzer-check-objc-mem tst.c

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions