Commit Graph

4924 Commits

Author SHA1 Message Date
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
Stephan Gocht 448c8c5f86 Missing Files for last commit. 2015-12-20 19:35:00 +01:00
Stephan Gocht c3b7f9ffb3 Documentation and Refactoring. 2015-12-20 19:34:40 +01:00
Stephan Gocht 467707701f Added InstructionByIindexMap, to make sureinstructions are identified by
iindex in hash and equals only.
2015-12-20 13:35:51 +01:00
Manu Sridharan a76486ef94 Depend on org.eclipse.e4.ui.workbench optionally
This makes IFDSExplorerExample work with more recent Eclipse versions.
2015-12-16 10:58:40 -08:00
Manu Sridharan 02c9929759 Use more call graph exclusions for Java 1.7 2015-12-16 10:56:49 -08:00
Manu Sridharan e95663e24a Be more robust to broken java_runtime_dir
If java_runtime_dir in wala.properties is invalid, fall back to the
boot class path instead of just failing.
2015-12-16 10:56:09 -08:00
Julian Dolby 46a483f320 language changes 2015-12-15 19:33:59 -05:00
Julian Dolby dc552316b9 language changes 2015-12-15 19:31:04 -05:00
Julian Dolby f02c77ba08 Allow patching call sites for older jvms. Warning: the new
patch-calls option does not work in Java 8, due to verifier changes.
2015-12-15 12:57:50 -05:00
Julian Dolby ad64e958dc changes for language work 2015-12-15 12:53:36 -05:00