Summary:public This adds support for the waf build system. The workflow to analyse a waf project looks something like: ```sh infer -- ./waf configure build ``` closes #316 Reviewed By: jeremydubreil Differential Revision: D3093056 fb-gh-sync-id: ff3d29e shipit-source-id: ff3d29emaster
parent
c0e5365458
commit
bc5dc80df6
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# mock waf implementation
|
||||||
|
|
||||||
|
# waf likes to hardcode paths to compilers during ./waf configure, so
|
||||||
|
# you should run `infer -- ./waf configure` to capture compiler calls
|
||||||
|
my_cc=$(which gcc)
|
||||||
|
|
||||||
|
echo "compiling"
|
||||||
|
# compile everything with the hardcoded compiler
|
||||||
|
make CC="$my_cc"
|
@ -0,0 +1,7 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"bug_type": "NULL_DEREFERENCE",
|
||||||
|
"file": "utf8_in_function_names.c",
|
||||||
|
"procedure": "test_\uc131\uacf5"
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in new issue