Summary: onemore Reviewed By: akotulski Differential Revision: D4118762 fbshipit-source-id: c4ffc3fmaster
parent
2e16920f5a
commit
c49b9e272d
@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2016 - present Facebook, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD style license found in the
|
||||
# LICENSE file in the root directory of this source tree. An additional grant
|
||||
# of patent rights can be found in the PATENTS file in the same directory.
|
||||
|
||||
TESTS_DIR = ../..
|
||||
include $(TESTS_DIR)/clang.make
|
||||
|
||||
ANALYZER = infer
|
||||
CLANG_OPTIONS = -c
|
||||
INFER_OPTIONS = --report-custom-error --developer-mode --project-root ../codetoanalyze
|
||||
|
||||
SOURCES = \
|
||||
../codetoanalyze/example.S \
|
||||
../codetoanalyze/hello.c \
|
@ -0,0 +1 @@
|
||||
hello.c, test, 2, NULL_DEREFERENCE
|
@ -1,7 +0,0 @@
|
||||
[
|
||||
{
|
||||
"bug_type": "NULL_DEREFERENCE",
|
||||
"file": "hello.c",
|
||||
"procedure": "test"
|
||||
}
|
||||
]
|
Loading…
Reference in new issue