Summary: This makes it more obvious why infer would force a path to be absolute since we base that decision on the resolved path. For instance: ``` $ mkdir foo $ cd foo $ ln -s ../examples goo $ infer -- clang -c goo/hello.c [...] /home/jul/infer/examples/hello.c:14: error: NULL_DEREFERENCE ``` We see that the path is outside of the current directory clearly, whereas before infer would report on "goo/hello.c". Reviewed By: akotulski Differential Revision: D4409579 fbshipit-source-id: 7172005master
parent
1891a16f8f
commit
c10126d0fd
@ -1 +1 @@
|
|||||||
hello.c, test, 2, NULL_DEREFERENCE, [start of procedure test()]
|
build_systems/codetoanalyze/hello.c, test, 2, NULL_DEREFERENCE, [start of procedure test()]
|
||||||
|
@ -1 +1 @@
|
|||||||
../../../../../examples/hello.c
|
../hello.c
|
@ -1 +1 @@
|
|||||||
buck-out/genruletest/gen/infer/tests/build_systems/genrule/module2/module2_infer__srcs/Class2.java, void Class2.localNPE2(), 2, NULL_DEREFERENCE, [start of procedure localNPE2()]
|
build_systems/genrule/module2/Class2.java, void Class2.localNPE2(), 2, NULL_DEREFERENCE, [start of procedure localNPE2()]
|
||||||
|
Loading…
Reference in new issue