Commit Graph

4748 Commits (a5d3203ce80238eb24edfefde0c790aeeceb5201)

Author SHA1 Message Date
Mehdi Bouaziz 35848a5284 Move 4 eradicate files 7 years ago
Mehdi Bouaziz 96d1f00687 Minor simplifications 7 years ago
Ezgi Çiçek bedf32bed5 [Cost, InferBo] generalize ArrayLists to Collections and Iterators 7 years ago
Ezgi Çiçek 9022228804 add support for hasNext() and iterator() for Java 7 years ago
Daiva Naudziuniene e8c5a84acd [Ownership] Add ownership to return param 7 years ago
Jules Villard 47fdee6000 add tips about debugging infer 7 years ago
Ezgi Çiçek 65491b79ff [Java] Do not generate the same intermediate variable in java translation 7 years ago
Mehdi Bouaziz ad986dffde Get rid of Declare_locals 7 years ago
Jules Villard 59f09ef697 [opam] upgrade atdgen to version 2 7 years ago
Ezgi Çiçek 832e0130cd [Inferbo] Fix the way pointers to arrays are handled in Java 7 years ago
Jeremy Dubreil df34917342 [infer] print all the severities in the debug html 7 years ago
Jeremy Dubreil 802d67ab64 [infer] fix the dependencies for the Buck javac_jar test 7 years ago
Jeremy Dubreil 59b7915177 [infer] rename the severity variants 7 years ago
Jules Villard b8c5dc84ba [absint] escape for xml when dumping info to html debug 7 years ago
Jules Villard e5a5d64760 [caml] do not use `let _ =` 7 years ago
Mehdi Bouaziz 12c0e245c6 [Inferbo] Simplify interval pretty-print 7 years ago
Sungkeun Cho fec87c8b95 [inferbo] Move functions constructing array values 7 years ago
Mehdi Bouaziz 427bb440d6 Inferbo: use Procdesc.get_locals rather than the Declare_locals instruction 7 years ago
Sungkeun Cho 65997b6a44 [inferbo] Remove sizeof function 7 years ago
Mehdi Bouaziz 66d37a496a Tabulation.log_call_trace: do nothing if footprint is false 7 years ago
Jeremy Dubreil 8a6aa4b1fd [infer] fix the internal confusion between the issue kind and the severity 7 years ago
Jeremy Dubreil 3767716c86 [infer][scheduler] simplify the callbacks API 7 years ago
Martino Luca 632cb0e513 [Perf] Emit ZERO_EXECUTION_TIME_CALL issue-type, when zero-costing functions are met 7 years ago
Dino Distefano 4065b76663 Fixed has_type for iterator type 7 years ago
Jules Villard 9ea6d4723f [toplevel] install infertop in infer/bin/ to get models and stuff 7 years ago
Jules Villard 69142ccad4 [biabd] do not get summary of pname to then get pname from summary 7 years ago
Jules Villard cc53c99ad4 [biabd] get rid of `Summary.get` in retain cycle detection 7 years ago
Jules Villard d3a36947bd [specs] do not expose specs cache 7 years ago
Sungkeun Cho c50b28480b [inferbo] Add trace on make_sym 7 years ago
Jeremy Dubreil bdbb8242cf [infer][java] no longer fail on Buck Java project using a custom javac_jar compiler 7 years ago
Jules Villard 987ef9ef67 [biabd] ondemand analysis for `pthread_create` builtin 7 years ago
Julian Sutherland 70ab21d33c Finished splitting itv.ml 7 years ago
Ezgi Çiçek 0a668c2161 [DEAD_STORE] Capture `constexpr`s in lambdas 7 years ago
Jeremy Dubreil 797eedba8b [infer][scheduler] remove one use of Summary.get 7 years ago
Jules Villard ae8632b0be [test determinator] clean up options help 7 years ago
Mehdi Bouaziz 96323b68e6 ProcnameDispatcher: allow matching to depend on a context 7 years ago
Jeremy Dubreil d5a5e7da10 [infer] remove ad hoc treatment of anonymous class renaming 7 years ago
Martino Luca 974e134061 [Perf] Count polynomials costs when computing differential 7 years ago
Sungkeun Cho df80ccda08 [inferbo] Use SymbolPath map in summary instead of entry memory 7 years ago
Daiva Naudziuniene ba4f33089e [stack variable address escape] Do not report on temporary variables 7 years ago
Sungkeun Cho b5ba9a74d1 [Inferbo] Fix trace print condition 7 years ago
Jules Villard f00d73b574 [taskbar] more informative non-interactive mode 7 years ago
Dino Distefano 1efc44c27f Fix has_type when used in the context of namespace 7 years ago
Nikos Gorogiannis 3870ebb747 [starvation] catch calls to Thread.sleep 7 years ago
Nikos Gorogiannis 332bd365e8 [starvation] fix report string when class is annotated @UIThread 7 years ago
Martin Trojer 562f9d1c7c Add guard against triggering static self logic when we have nested class calls 7 years ago
Sungkeun Cho 9eca72d405 [Inferbo] Add relational domains 7 years ago
Mehdi Bouaziz d90a87d743 [inferbo] Remove temporary fix for Java path 7 years ago
Julian Sutherland 66e737a3b4 refactoring itv, moved Ints and NonZeroInt module to seperate file 7 years ago
Jeremy Dubreil ad8c5d68a2 [infer][java] make sure the type definition of the class always exists in the type environment when translating one of its method 7 years ago
Ezgi Çiçek 396caca5d6 Fix array size for Java in `get_malloc_info` 7 years ago
Nikos Gorogiannis 4cc8563212 [starvation] catch Object.wait calls on main thread 7 years ago
Martin Trojer 4ba7218133 Added test to verify a NSArray nil insert case. 7 years ago
Jeremy Dubreil 3539388ea6 [infer][tests] fix the expected test output 7 years ago
Daiva Naudziuniene a8d80a590b [cfg] Add variant type for statement node 7 years ago
Nikos Gorogiannis 14aa1edbf5 [starvation] Avoid FPs in guava Futures 7 years ago
Martino Luca 9e048c11f8 [Perf] Emit cost polynomial and their degree as part of the report 7 years ago
Martino Luca c50b250576 [Perf] Compute the degree of polynomials 7 years ago
Martin Trojer 46e2c153f1 Add std::string as container-method for objc, and change string matching to regexes. 7 years ago
Jules Villard 6e44cae7cd [c] record complex sizeof() and leak from 7 years ago
Katie Ots d86737946c Validate buck linters used with compilation database 7 years ago
Ezgi Çiçek 2d889791e2 Fix Java's handling of pointer parameters in Inferbo 7 years ago
Ezgi Çiçek 9ed18e958a Add support for ArrayList.remove 7 years ago
Jules Villard 2761a62e94 [java] record HashMap get from `KeySet()` FP from 7 years ago
Jules Villard b23449a7d2 [c] record C lists FP from 7 years ago
Jules Villard 398e97183f [java] record Closeable example from 7 years ago
Ezgi Çiçek f540aa47a3 Add support for Java's ArrayList.set and ArrayList.get 7 years ago
Ezgi Çiçek 0c6eacc902 Add support for Java's ArrayLists.add* 7 years ago
Martino Luca cccef6261d Revert "[Perf] Add cost information to the hashing function" 7 years ago
Martino Luca ac64be761f [Perf] Add cost information to the hashing function 7 years ago
Nikos Gorogiannis 6b156f71fe [racerd] special-case for Litho's getThis 7 years ago
Martin Trojer ee7f07a1a9 Add missing case to block instruction converter 7 years ago
Jules Villard 83a4a8fa5b [dune] jbuilder -> dune 7 years ago
Jules Villard 0bf9666639 [taskbar] less flicker and garbage 7 years ago
Jules Villard 8977011737 [taskbar] display on-demand nesting 7 years ago
Daiva Naudziuniene 84cfd0a450 [frontend] Do not create exceptional successors for return nodes 7 years ago
Jules Villard c53f35fcf2 [taskbar] migrate compilation db jobs from `Parmap` to `Tasks` 7 years ago
Martin Trojer 4b69087ad5 Adding OBJCPP models to avoid SKIPs of models from .mm 7 years ago
Ezgi Çiçek 34c2899a69 Fix printing of fields in Java 7 years ago
Nikos Gorogiannis c2416defed Fix IntLit.to_int interface and uses. 7 years ago
Katie Ots 9670d3c700 [Lint] Remove misleading error when running linters only 7 years ago
Daiva Naudziuniene 4d1abb0eeb [ownership] Do not report on temporary variables. 7 years ago
Dino Distefano b215cdbff4 Fixed problem with expasion of %name% placeholder 7 years ago
Mehdi Bouaziz 36b581cecd Add cost.mli 7 years ago
Nikos Gorogiannis b0ba6b3e1e [racerd] don't replicate existing logic in `propagate_return` 7 years ago
Nikos Gorogiannis c5ad94d825 [starvation] Adjust blocking call severities to better reflect practice 7 years ago
Martino Luca ae9ee41f78 [TD] Change JSON format for test-determinator 7 years ago
Sungkeun Cho 06a04ca9f5 Revert "[Inferbo] Add relational domain" 7 years ago
Dulma Churchill 8ce394942b [clang] Do not crash on translating captured variables of lambda expressions 7 years ago
Sungkeun Cho 1f7a6e53fb [Inferbo] Add relational domain 7 years ago
Jules Villard 0d8c2dedd6 [cli] add the ability to rerun the analysis on some files with different options 7 years ago
Jules Villard f70f413c54 [sqlite] API to retrieve rows of more than one column 7 years ago
Jules Villard aebeca3388 [sqlite] do not wrap results into `Some _` needlessly 7 years ago
Jules Villard 0f79fd8d94 [minor] adjust some comments 7 years ago
Dulma Churchill eab20602a0 [biabduction] Do not log unamatched parameter errors to standard out 7 years ago
Jules Villard be855d3589 [explore] change filtering options to filter in OCaml rather than SQLite 7 years ago
Dulma Churchill 5653839540 [clang] Add the types of captured variables to the procname of blocks 7 years ago
Ezgi Çiçek 5cff9c91f9 Add Java support to ProcnameDispatcher 7 years ago
Martin Trojer a07877dcbb Add new Ident.create_fresh function to avoid clashes specialized objc blocks 7 years ago
Kai Yang 2d73494e87 Add is_static_local_var predicate 7 years ago
Nikos Gorogiannis d4a9c6f81a [racerd] gate stability 7 years ago
Jules Villard a6a7b7f467 [reactive] always delete specs dir 7 years ago
Jules Villard 86e79a7125 [attributes] always have a (single) translation unit 7 years ago
Jules Villard 6f3719f5f2 [siof] do not warn on simply taking reference of global 7 years ago
Jules Villard a5a106c83a [cli] create missing directory 7 years ago
Ezgi Çiçek 129cadb9b6 "Be more lazy in get_siblings" 7 years ago
Jules Villard 36f8d8f869 [lint] linter to force every file to `open! IStd` 7 years ago
Jules Villard 9cb36ab840 [minor] remove suspicious `with _ ->` 7 years ago
Jules Villard 2c8d7a2046 [clang] support `SubstNonTypeTemplateParmExpr` 7 years ago
Ezgi Çiçek 718f81ac77 Convert list to sequence in `Procdesc.get_siblings` 7 years ago
Jules Villard 2cb96c356a [clang] remove capture hack 7 years ago
Martin Trojer 63b3f5b99b Deal with anonymous objc blocks where non closure args could wrongly be considered duplicates. 7 years ago
Martin Trojer 510ce07698 Wrap all retaincycle dotty nodenames in quotes 7 years ago
Jules Villard 6611bee736 [prop] memory usage improvement 7 years ago
Martin Trojer d442937380 Add CFRunLoopObserverCreateWithHandler model and test 7 years ago
Dulma Churchill e667c32324 [biabduction] Log the status of using dynamic dispatch 7 years ago
Jeremy Dubreil 7d2b96b42f [infer][backend] removed the use of Summary.get_unsafe in the backend 2/2 7 years ago
Martin Trojer 1ee0390f3c Add test that exemplifies Missing_fld issue on objc 7 years ago
Ezgi Çiçek 60b74766d5 Fix expensive debugging in cost analysis 7 years ago
Jeremy Dubreil a055833eb3 [infer][ondemand] assert that the callbacks are set before retrieving the procedure description 7 years ago
Jeremy Dubreil 8f5504fe28 [infer][backend] removed the use of Summary.get_unsafe in the backend 1/2 7 years ago
Martin Trojer 8bdbf3aedc Fix false positive BAD_POINTER for objcpp 7 years ago
Jules Villard 3d63c34bd4 [clang] less verbose logging of translation errors 7 years ago
Dulma Churchill 90f8c73273 [biabduction] Enable dynamic disptach on Objective-C blocks 7 years ago
Mehdi Bouaziz e5de1b6663 Cost: simplify range of parameters 7 years ago
Mehdi Bouaziz bea71d9168 Inferbo/perf: path rather than symbols 7 years ago
Mehdi Bouaziz 3c240fc880 Inferbo: rewrote subst 7 years ago
Ezgi Çiçek 4624ff48d1 Fix control variable imprecision in do while loops 7 years ago
Martin Trojer a1cadfd88c Adding objcpp liveness test 7 years ago
Jules Villard 89040bee1c [backend] do not let caches grow too big 7 years ago
Daiva Naudziuniene 1e2e9b6d11 [clang frontent] Fix translation of binary operator 7 years ago
Mehdi Bouaziz a8e84d1657 Cost: improve NonNegativePolynomial.(<=) 7 years ago
Mehdi Bouaziz 0639ef82b7 Cost: also take into account arguments in range 7 years ago
Dulma Churchill 60cbc2c98e [biabduction] Enable dynamic dispatch for ObjC methods 7 years ago
Dulma Churchill 2cf0e7a1d2 [clang] Treat class method as a static self only as the first argument of an instance method call, not a class method 7 years ago
Nikos Gorogiannis 848ef3da21 [RacerD] Fix stability implementation 7 years ago
Jules Villard 19a6185a54 [taskbar] truncate output at terminal size 7 years ago
Jules Villard 0110ad9e14 [deadcode] remove dead code 7 years ago
Jules Villard b0427c9390 [taskbar] die when a child errors 7 years ago
Nikos Gorogiannis f28aa37cb6 [racerd] Do not record paths starting at variables not appearing in source 7 years ago
Dulma Churchill 93ffa826a7 [clang] Using dumped info from array and dict literals 7 years ago
Dulma Churchill 4c726692a9 [clang] Do not raise an exception when type pointer not found 7 years ago
Martin Trojer 5156ff7f65 [infer][PR] handle improper version strings in @available clauses 7 years ago
Jeremy Dubreil 055a8267e8 [eradicate] promote reports as errors for generated GraphQL source of nulls 7 years ago
Jeremy Dubreil dd25985e67 [eradicate] no longer add @Strict in the report description 7 years ago
Nikos Gorogiannis e5d8f501f4 [starvation] fix conversions of int literals which need 64 bit ints 7 years ago
Jules Villard baff08e198 [deadcode] introduce more dependencies 7 years ago
Jules Villard 4a1379ebc5 [taskbar] it is born 7 years ago
Jules Villard 0914fee2cc [backend] remove source file from exe_env 7 years ago
Jeremy Dubreil 90c08e4596 [eradicate] report as warnings by default 7 years ago
Ezgi Çiçek cf1c2acb54 [Cost] Add invariant analysis 7 years ago
Jules Villard ea734a3e77 [scheduler] delete unused tasks continuations 7 years ago
Jules Villard 25627fd4d9 [c] add test for cleanup attribute 7 years ago
Jules Villard dd8b0bcd51 [cli] exit with user error in case of unsupported build command 7 years ago
Jules Villard 8461786f02 [cli] remove support for deprecated `infer -- analyze` 7 years ago
Sungkeun Cho 4c6ddb7808 [Inferbo][Refactoring] Use named parameter 7 years ago
Martino Luca 8b7148d5b0 Adding a new ATD-based parser for JSON data containing profiler results 7 years ago
Dulma Churchill a274cdf785 [IR] Add the flag is_variadic to the procedure attributes 7 years ago
Ezgi Çiçek f80af7be93 Fix control var analysis for loops with multiple back-edges per loop head 7 years ago
Mehdi Bouaziz bd725602ee Inferbo: size of arrayblk is unsigned 7 years ago
Dulma Churchill 2f00ccb434 [IR] Unify the proc attribute translation_unit and source_captured 7 years ago
Nikos Gorogiannis 35fba2de40 [starvation] skip generated code 7 years ago
Mehdi Bouaziz 4eef0d90c8 Logging/Printer: better code 7 years ago
Mehdi Bouaziz 0563578b43 Propgraph: relax types 7 years ago
Mehdi Bouaziz 2b77c67df5 Prop.expose: relax type 7 years ago
Nikos Gorogiannis f88fe8fc3b [starvation] improve deadlock reports 7 years ago
Mehdi Bouaziz affced4303 Cost: actually, we needed data dependency 7 years ago
Nikos Gorogiannis 73507de47b [starvation] report only on public methods 7 years ago
Dulma Churchill 91e0a7d1a3 [IR] Take parameters into account in to_filename method 7 years ago
Nikos Gorogiannis 101574e9d0 Revert again. 7 years ago
Nikos Gorogiannis d13b845434 [starvation] improve deadlock reports 7 years ago
Nikos Gorogiannis db17b13f6a Bad rebase of stacked diff -- reverting. 7 years ago
Nikos Gorogiannis 787cb2c612 [starvation] improve deadlock reports 7 years ago
Mehdi Bouaziz 5b6430e739 Cost solver 7 years ago
Dulma Churchill 776e728b63 [biabduction] Rewrite the function resolve_java_pname in SymExec for all procnames 7 years ago
Nikos Gorogiannis 113ddbb3ac [starvation] dedup deadlocks 7 years ago
Mehdi Bouaziz 2918512b95 Cost: prepare for another solver 7 years ago
Mehdi Bouaziz 4a0ed2195a [Cost] Representative map: use the union-find map 7 years ago
Mehdi Bouaziz dc49cb6124 Cost: Polynomial.min_default_left 7 years ago
Martino Luca e379132412 [TD] Add test for the case where use_signature=false 7 years ago
Martino Luca c3ec3f1958 [TD] Add test for void_method_with_no_arguments 7 years ago
Mehdi Bouaziz 9ae3b42aef Cost: move union-find to its own module 7 years ago
Mehdi Bouaziz 21ced6af62 PartialOrder 7 years ago
Dulma Churchill 7f839ae962 [biabduction] Do not crash when Exe_env.get_tenv fails for some procedure 7 years ago
Mehdi Bouaziz 507de1e96c Inferbo models: separate ret 7 years ago
Daiva Naudziuniene 9738f9821e [frontend] Translating ToVoid cast 7 years ago
Dino Distefano ac872f4bb5 Building MinTrees with equivalence relation 7 years ago
Ezgi Çiçek bbd6820ca1 Get rid of data dep analysis and localize it to single step 7 years ago
Dulma Churchill c1cd2f44cf [IR] Put the procnames for c functions and blocks in designated modules 7 years ago
Daiva Naudziuniene 18b3a465d2 [uninit] Report on unitialized expressions in conditions 7 years ago
Daiva Naudziuniene acc8712401 [HIL] Do not raise error for the case where array index is passed by ref 7 years ago
Dulma Churchill 79a8f8716c [clang] Adding parameters as part of the procname for C++/ObjC methods and ObjC blocks 7 years ago
Nikos Gorogiannis 4820e3db1e [starvation] add NonBlocking annotation 7 years ago
Jeremy Dubreil 0da5435d9d [infer][backend] remove unecessary function Summary.pdesc_resolve_attributes 7 years ago
Jeremy Dubreil a5129e57db [Nullable checker][Objective C] add test for nullable properties in NSArray 7 years ago
Jules Villard 710dae8ee4 [doc] add `make doc` target for building html API doc 7 years ago
Mehdi Bouaziz aee02e27ef Cost: control-flow equality classes 7 years ago
Mehdi Bouaziz fd93d907e8 ARList 7 years ago
Dulma Churchill 7409e33ed2 [clang] Add parameters info to the procname of c functions 7 years ago
Ezgi Çiçek cb8e734bbb Get all the loop instructions 7 years ago