Cristiano Calcagno
31e6f19ab2
[debug] Don't keep a copy of source files in the results directory
...
Reviewed By: akotulski
Differential Revision: D4220714
fbshipit-source-id: 527df73
8 years ago
Cristiano Calcagno
c5159bae1c
[IR] Move Procdesc module to a separate file.
...
Reviewed By: jvillard
Differential Revision: D4159580
fbshipit-source-id: e83ebd5
8 years ago
Cristiano Calcagno
e933ee958a
[IR] Rearrange the cfg module to make nodes, procd descs, and cfgs independent types.
...
Reviewed By: jberdine
Differential Revision: D4118243
fbshipit-source-id: 73c910c
8 years ago
Cristiano Calcagno
73c5dfdfa4
[IR] Remove use of Cfg.Node.get_proc_desc
...
Reviewed By: jvillard
Differential Revision: D4095234
fbshipit-source-id: 20f7077
8 years ago
Cristiano Calcagno
3fb8801b6c
[IR] Change cfg representation so the node number is per-procedure and not per-cfg
...
Reviewed By: jeremydubreil
Differential Revision: D4088075
fbshipit-source-id: 6e517a7
8 years ago
Cristiano Calcagno
ecda199e9d
[IR] Clean up unused parts of Cfg
...
Reviewed By: jeremydubreil
Differential Revision: D4081060
fbshipit-source-id: 5df5f71
8 years ago
Josh Berdine
dd8b8e6d2e
[reason] reformat with new version of reason
...
Summary:
Converted by executing:
```
cd infer/src
find . -name "*.re" -or -name "*.rei" -exec ../../scripts/reup.sh {} \;
```
and fixed a few broken comments.
Reviewed By: jvillard
Differential Revision: D4021262
fbshipit-source-id: 0223287
8 years ago
Josh Berdine
de56a302f3
[refactor] Remove unused prop reporting, and refactor
...
Summary:
This diff removes the unused support for reporting props, which enables
refactoring so that the 'base' directory has no dependencies, and the
'IR' directory depends only on 'base'.
Reviewed By: jvillard
Differential Revision: D3981352
fbshipit-source-id: 3700a23
8 years ago
Sam Blackshear
95a82a6a04
[backend] don't run preanalysis twice
...
Reviewed By: jeremydubreil
Differential Revision: D3982521
fbshipit-source-id: edb22e9
8 years ago
Andrzej Kotulski
6251aad101
[IR] kill Cfg.set_procname_priority
...
Summary: That data was never used and removing it can simplify frontends quite a bit.
Reviewed By: jberdine
Differential Revision: D3967389
fbshipit-source-id: d65c3da
8 years ago
Andrzej Kotulski
18f6190432
move code that depends on backend/ out from IR/Cfg.re
...
Summary: The code has not much to do with IR and should be part of backend/ directory.
Reviewed By: sblackshear
Differential Revision: D3950834
fbshipit-source-id: 315ea19
8 years ago
Cristiano Calcagno
bd0215a826
[IR] Add notion of file captured to procedure attributes.
...
Reviewed By: jberdine
Differential Revision: D3899826
fbshipit-source-id: 91f063f
8 years ago
Cristiano Calcagno
b0980bc35e
[tests] Convert c/c++ frontend tests to new format.
...
Reviewed By: sblackshear
Differential Revision: D3876214
fbshipit-source-id: a9032dc
8 years ago
Josh Berdine
8a85919001
Pass tenv to everywhere that matches on Tstruct
...
Reviewed By: cristianoc
Differential Revision: D3809094
fbshipit-source-id: b3a8449
8 years ago
Cristiano Calcagno
20c33f15c9
Fix flakiness in the analysis when a procedure is defined in more than one file.
...
Reviewed By: jberdine
Differential Revision: D3804399
fbshipit-source-id: e347927
8 years ago
Josh Berdine
c147ab4197
Refactor Sil.attribute and associates to PredSymb
...
Summary:
Move the Sil.attribute type and associated types and operations to a new
PredSymb module.
Reviewed By: cristianoc
Differential Revision: D3683834
fbshipit-source-id: d3606a8
9 years ago
Josh Berdine
701eb20f83
Refactor Sil.exp to Exp.t
...
Summary: Create Exp module and refactor Sil.exp to Exp.t
Reviewed By: cristianoc
Differential Revision: D3669394
fbshipit-source-id: 1f52a90
9 years ago
Josh Berdine
bbec166174
Refactor Sil.typ into separate Typ module
...
Summary:
Now that array types record only static - and therefore constant -
lengths, Sil typ and exp no longer need to be mutually recursive.
This diff:
- splits the recursion in the type definitions of typ and exp,
- splits the recursion in the comparison and pretty-printing
functions,
- and then refactors typ into a separate module.
Reviewed By: cristianoc
Differential Revision: D3423575
fbshipit-source-id: 6130630
9 years ago
Sam Blackshear
36ee3730aa
reporting error on unprotected access to field annotated with @GuardedBy
...
Reviewed By: peterogithub
Differential Revision: D3318994
fbshipit-source-id: e36b927
9 years ago
Cristiano Calcagno
08546ce7bb
Move vim comments up.
...
Reviewed By: chenglou
Differential Revision: D3327580
fbshipit-source-id: a7493e3
9 years ago
Cristiano Calcagno
52e9ebc252
Enable syntax highlighting for Reason files on GitHub.
...
Reviewed By: chenglou
Differential Revision: D3327534
fbshipit-source-id: 1dc6d5f
9 years ago
Cristiano Calcagno
885beed0b1
Convert the Intermediate Representation to Reason.
...
Reviewed By: jberdine
Differential Revision: D3138490
fbshipit-source-id: e3b53fa
9 years ago