Граф коммитов

363 Коммитов

Автор SHA1 Сообщение Дата
Mike Barnett 54dfb8626d Merge branch 'master' into madanm-changes
Conflicts:
	ScopeProgramAnalysis/Framework/HostAndLoader.cs
	ScopeProgramAnalysis/Program.cs
2016-09-22 15:37:00 -07:00
Madan Musuvathi 2131b3bf15 adding my changes to madanm-changes branch 2016-09-22 10:00:03 -07:00
Mike Barnett 1ac9941e87 Fix some bugs for when directories and/or files cannot be found.
Fix places where bad line endings were used in printing output.
2016-09-21 13:46:55 -07:00
Mike Barnett d2100f8e89 Updated README.md with installation instructions for the dependence on analysis-net. 2016-09-20 08:51:34 -07:00
Mike Barnett 4bc4acc208 Make unit test execution path return the same error messages (or similar) to those returned when analyzing an assembly from the operator factory. 2016-09-18 12:47:31 -07:00
Mike Barnett fff7e718e5 Make log have entries for processors for which no iterator is found. 2016-09-16 15:55:11 -07:00
Mike Barnett 812639ff4d Fix lots of stuff related to processors that inherit their iterator. Now the generated log records the fact if the processor class is different than the class defining the iterator. This also forced the creation of a cache so that the same iterator is not analyzed multiple times. That is good for performance, but also needed (for now) because of a bug in the framework that doesn't allow the same method to be analyzed more than once. 2016-09-16 14:57:43 -07:00
Mike Barnett 798600a3e7 Walk the inheritance chain as needed to find the actual iterator in the processor. 2016-09-15 15:47:47 -07:00
Mike Barnett 43081102ca Refactor as necessary to be able to have an API for analyzing a particular processor instead of an entire dll. 2016-09-14 16:21:05 -07:00
Mike Barnett 25e2974034 Avoid null dereference in ToString methods (SetDomain.cs).
Changed object reference equality tests to use InternedKey instead, but commented it out because the source of the problem was that the frontend was unnecessarily copying the metadata model. Left the comments in so we can find those places again and fix them if we decide to change from using object reference equality.
Created a separate solution for Zvonimir's analysis, updated the project files to point to a directory where the version of the infrastructure it depends on can be on the disk.
2016-09-12 10:18:34 -07:00
Diego Garbervetsky 33bfcaf287 Added information about the assembly and class that is causing troubles to the stats 2016-09-02 18:02:32 -07:00
Diego Garbervetsky db6d8118e2 Add alternive approach to get traceable for table (need to apply in other methods) 2016-09-01 23:20:35 -07:00
Diego Garbervetsky 4258362cd6 Print the assembly name in analysis stats. 2016-09-01 23:19:46 -07:00
Diego Garbervetsky 0d60a6be30 Adding python scripts that analyze the passthrough files. 2016-09-01 23:19:11 -07:00
Diego Garbervetsky 92ef8aed06 Nothing relevant 2016-09-01 11:02:20 -07:00
Diego Garbervetsky fe97df269d Fix the computation 2016-09-01 11:02:06 -07:00
Diego Garbervetsky ce8ad937a4 Add new stat about clases that can not be resolved 2016-08-31 22:43:01 -07:00
Diego Garbervetsky 333db057ac Also add to escape the real traceables 2016-08-31 22:41:56 -07:00
Diego Garbervetsky d91f38ea36 When we do copyTo we need to say that all columns as accesed 2016-08-31 21:43:54 -07:00
Diego Garbervetsky 966d984c2c Added schema columns to sarif file. The comparer also shows the number of input/output columns obtained from the analysis and the number of schema input/output colums 2016-08-31 21:43:19 -07:00
Diego Garbervetsky c6cab79f50 Back to real types 2016-08-31 18:04:25 -07:00
Diego Garbervetsky 48f1e5f0cb Fixing a bugs in the second schema reader 2016-08-31 18:04:04 -07:00
Diego Garbervetsky 8bbf6e35db Moving the parsecolumn to the column comparer 2016-08-31 18:03:13 -07:00
Diego Garbervetsky 49db57d706 Merge branch 'addAllColumns' of https://github.com/Microsoft/rudder into addAllColumns 2016-08-31 14:10:27 -07:00
Diego Garbervetsky f960eb96d6 Now check for namespace instead of assembly 2016-08-31 14:09:30 -07:00
Mike Barnett 5d6cee3c8e Add schema for unit tests (and the ability to process a schema from such a source). 2016-08-31 14:04:06 -07:00
Diego Garbervetsky 78005ae856 Fix line endings... 2016-08-31 11:43:05 -07:00
Mike Barnett 3be8454a1c git attributes 2016-08-31 11:17:15 -07:00
Mike Barnett ac3eb89a85 Merge branch 'UnitTests' into addAllColumns
Conflicts:
	ScopeProgramAnalysis/Program.cs
2016-08-31 11:12:55 -07:00
Mike Barnett bcfc165445 Fix finding the GetEnumerator method so it works for the unit tests as well as for the real assemblies. 2016-08-31 10:48:23 -07:00
Diego Garbervetsky 19b6f17b7f Add some defensive code 2016-08-31 10:47:34 -07:00
Diego Garbervetsky e6c610d84e stop trying to get the classes when they are not in the scope Factory 2016-08-30 23:44:00 -07:00
Diego Garbervetsky 5804047f05 FIx a problem when no value is added to a collection and is obtained from other iteration 2016-08-30 22:26:39 -07:00
Diego Garbervetsky c9061c471a Add methods to assign traceales to heap locations (before we can only add) 2016-08-30 22:25:05 -07:00
Diego Garbervetsky 26291e3b00 add a flag to explain if the getCurrent actually get an item in a collection 2016-08-30 22:22:04 -07:00
Diego Garbervetsky ad71abb11b add support for copy to on columns 2016-08-30 22:21:24 -07:00
Diego Garbervetsky 06876ff9f7 Use a smaller representation of methods invocations to avoid an out of memory message.... (too large strings) 2016-08-30 20:54:43 -07:00
Diego Garbervetsky 1d67ef2d14 Fix the treatment of column literals (coming from constants) and one case of get_Schema 2016-08-30 20:53:30 -07:00
Diego Garbervetsky 07efe95f31 Small fix to analyzed GetEnumerator for IEnumerable and Enumerable 2016-08-30 18:52:26 -07:00
Diego Garbervetsky 634eae970c - Fix but in the treatment of columns literals taking from constants
- Renaming of some methods
2016-08-30 18:05:16 -07:00
Diego Garbervetsky 78d9e3a715 Almost finish the treatement of copyall (now we read from schema). Still some bug in generating columns 2016-08-30 16:55:42 -07:00
Mike Barnett c711f0a849 Merge branch 'Schema' into addAllColumns
Conflicts:
	ScopeProgramAnalysis/DependencyAnalysis.cs
	ScopeProgramAnalysis/Program.cs
2016-08-30 15:20:03 -07:00
Mike Barnett 6dff78112f Merge branch 'master' into UnitTests 2016-08-30 15:13:17 -07:00
Diego Garbervetsky 0c8a6f7637 Adding initial functionality to read columns from XML 2016-08-30 15:13:02 -07:00
Mike Barnett 0d58d08869 Beginning of adding unit tests. 2016-08-30 15:09:50 -07:00
Diego Garbervetsky 20e0c36d63 I added an additional stopwatch 2016-08-30 14:49:30 -07:00
Diego Garbervetsky 50ac74eddf Add some comments.
Add a new traceable with creating objects.
Replace the filter of initial value
2016-08-30 14:48:40 -07:00
Diego Garbervetsky 1da48f0366 Fix the cancelation of a process due timeout 2016-08-30 12:36:41 -07:00
Diego Garbervetsky 8288f13ea8 More defensive handling of arrays 2016-08-30 12:35:23 -07:00
Diego Garbervetsky 7f4ce4bd3d Show more details of dependencies in a method invocation 2016-08-30 12:21:05 -07:00