Commit Graph

4934 Commits

Author SHA1 Message Date
Manu Sridharan 6daceaa0ed Merge pull request #103 from liblit/eclipse-neon-fixes
Build fixes for Eclipse Neon
2016-07-05 08:59:09 -07:00
Manu Sridharan 202ca8d02e Merge pull request #102 from liblit/null-analysis-errors-cleanup
Ignore potential null accesses in Eclipse
2016-07-05 08:58:42 -07:00
Ben Liblit c3cbfc1c69 Merge branch 'master' of github.com:wala/WALA 2016-07-04 19:18:36 -05:00
Ben Liblit 80c075b4e4 Merge remote branch 'origin/master' 2016-07-04 14:05:49 -05:00
Julian Dolby be6eec72a0 more temp file APIs 2016-07-01 10:51:30 -04:00
Julian Dolby e8dfe604a5 fix bug in pull 2016-06-29 22:08:33 -04:00
Ben Liblit 52b6c1b235 Merge branches 'null-analysis-errors-cleanup' and 'eclipse-neon-fixes' 2016-06-29 12:50:07 -05:00
Julian Dolby 22ce3d1144 Merge https://github.com/steohan/WALA 2016-06-29 13:03:50 -04:00
Ben Liblit c1aaec592c Accidental "warning" setting should be "ignore"
The original intent was to ignore this potential problem in all projects in which it occurs; this one escaped my attention.
2016-06-28 16:54:19 -05:00
Ben Liblit e7b328641e Add stub for ITypeBinding.isIntersectionType()
This interface method was added in Eclipse Neon, so we need to implement
it here to have a non-abstract class.  With this fix, WALA now builds
with no errors inside Eclipse Neon.  (There are still a few thousand
warnings, but that's nothing new.)
2016-06-27 18:47:02 -05:00
Ben Liblit 7b6811b2dd Ignore potential null accesses in Eclipse
Eclipse Mars Service Release 2 finds 45 potential null pointer accesses
across WALA's various Eclipse projects. Eclipse ignores these by
default, but any individual user may have changed their personal Eclipse
configuration to treat them as warnings or errors. Thus, some people
will find that the code builds while others find that it fails. Better
to explicitly use a known-good configuration.

In the long run someone should inspect these cases one-by-one and fix
them where appropriate. But that is probably better managed as part of a
larger effort to tidy up nulls in WALA. I'm not planning to take that on
now or any time soon, though, so this is a better setup for now.
2016-06-27 13:11:42 -05:00
Julian Dolby aeac2a6df0 check call has enough arguments 2016-06-22 13:05:02 -04:00
Julian Dolby 76286a330c make Android entrypoint locator work for source code 2016-06-10 21:21:08 -04:00
Manu Sridharan 21340b44cf Merge pull request #101 from sewe/master
SecurityExceptions when analyzing JARs with broken/expired signatures
2016-06-08 10:48:49 -07:00
Andreas Sewe e2e5bcf435 SecurityExceptions when analyzing JARs with broken/expired signatures
See <https://github.com/wala/WALA/issues/100>
2016-06-08 11:08:10 +02:00
Julian Dolby 065a3ff767 pruned call graph takes edges as well as nodes 2016-06-06 14:17:12 -04:00
Manu Sridharan a319b3e130 Switch back to using install for jars.
Just running 'verify' won't work since project dependencies are 
resolved via the local maven repository.
2016-05-25 16:30:59 +02:00
Manu Sridharan 327dd1752c Do 'verify' instead of 'install' in jar build
This way, we don't pollute the cache of .m2 every time the build runs.
2016-05-25 16:14:47 +02:00
Manu Sridharan bd9d6d6c62 Move building Maven Central jars to end 2016-05-25 15:34:22 +02:00
Manu Sridharan 71fda78c11 Tweak JDK setting in Travis config 2016-05-25 15:15:51 +02:00
Manu Sridharan c3472ef73b More output to debug maven jar script on Travis 2016-05-25 15:09:51 +02:00
Manu Sridharan 1cf922b927 Build Maven Central jars on Travis 2016-05-25 14:31:17 +02:00
Manu Sridharan 330692ad0e Include files from dat directory in jar 2016-05-25 11:51:50 +02:00
Manu Sridharan 8ac8b3d662 Change versions of Eclipse jars
This plays more nicely with Gradle
2016-05-25 11:51:25 +02:00
Manu Sridharan f73419c343 Script to build maven central jars 2016-05-25 08:12:59 +02:00
Manu Sridharan c549c246fc Small typo fix 2016-05-25 08:12:30 +02:00
Manu Sridharan f47e1a27b8 Add Maven Central build file 2016-05-24 11:59:59 +02:00
Manu Sridharan 8129d960b9 Create new com.ibm.wala.cast.java.ecj project.
The new project only depends on the minimal Eclipse plugins to make the
ECJ frontend work.  Hence, it should be amenable to creating a Maven
Central jar.
2016-05-24 11:39:00 +02:00
Manu Sridharan 94a4c5277f more EJC -> ECJ renaming 2016-05-24 11:17:11 +02:00
Manu Sridharan 29a306f4d0 Add launcher for ECJJavaIRTest 2016-05-24 10:54:51 +02:00
Manu Sridharan 57ff2a9dd5 Rename EJC* -> ECJ*, to match standard acronym 2016-05-24 10:51:58 +02:00
Manu Sridharan bd58bf4515 Remove cast.java dependence on org.eclipse.core 2016-05-18 21:18:52 -07:00
Manu Sridharan 217644ff84 Example driver for ECJ front end
This shows how with ECJ, the JDT source front end can be used from
the command-line (with no running Eclipse instance).
2016-05-18 21:10:59 -07:00
Manu Sridharan c26cddf65b Maven Central build file for wala.cast.java
Work in progress
2016-05-18 21:09:50 -07:00
Manu Sridharan c6e322e205 Remove Polyglot-based Java source front-end 2016-05-18 10:46:19 -07:00
Manu Sridharan 96d9f75660 Stop building Polyglot
Our script for pulling the Polyglot source from Google Code no longer
works.  We may remove Polyglot support itself pretty soon, as it
only supports old Java versions.
2016-05-12 10:01:57 -07:00
Manu Sridharan cd560b3b2b switch version to 1.3.10-SNAPSHOT 2016-05-10 22:53:28 +09:00
Manu Sridharan 158a5deeb0 Version 1.3.9 2016-05-10 21:59:26 +09:00
Manu Sridharan 88df462783 Update ignores 2016-04-03 12:44:32 -07:00
Manu Sridharan 6df8d1b32d Fix compilation in Eclipse Mars
Fixes #98
2016-04-03 12:43:57 -07:00
Julian Dolby e28b97b1ec fix null pointer exception handling tag 2016-03-28 12:56:36 -04:00
Julian Dolby e87b2e5d84 fixes for slicing of field-based CGs 2016-02-14 17:18:21 -05:00
Julian Dolby 970acf10db driver to dump APK IR 2016-02-11 13:49:09 -05:00
Julian Dolby 57a8c7d019 Merge branch 'master' of https://github.com/wala/WALA 2016-02-11 12:09:50 -05:00
Julian Dolby eb7748a745 fixes for slicing of graphs built with the field-based builder 2016-02-11 11:51:39 -05:00
steohan 715b1e86fe Merge pull request #1 from wala/master
Pull from Wala
2016-01-13 02:23:04 +01:00
Stephan Gocht 672876c595 Added Testcases for ExceptionAnalysis and ExceptionAnalysis2EdgeFilter. 2016-01-13 02:07:58 +01:00
Stephan Gocht 2869af24df Bugfixes, code and documentation improvements. 2016-01-13 02:07:11 +01:00
Stephan Gocht 0387bd1591 Removed Warning 2016-01-10 15:34:10 +01:00
Stephan Gocht b75d93cb1c Changed pi policy to only create pi nodes for integer variables. 2016-01-08 14:10:55 +01:00