Commit Graph

36 Commits

Author SHA1 Message Date
Juergen Graf d77cfc60fc incorporate changes from other branch
- Annotation support
- Properly fix path-with-spaces bug.
- fix bug involving paths with spaces
- add a simple driver for building a call graph via a scope file
- Properly return null as default constructor of an array.
- organize imports
- better handling of missing bytecodes
- javadoc
- test fix
- small Javadoc fix
- added date-property.js
- 1) added InstanceKey.getCreation sites and its implementations 2) fixes for issues with keys representing dynamic properties   i) all properties are converted to strings,
- publicize method makeClasspath().  deprecate quoteStringIfNeeded()
- organize imports
- javadoc
- renamed classes to make relationship to mod-ref analysis clearer
- add support for lexical writes
- Code to compute transitive lexical accesses of methods.
- extract some generally useful code from ModRef
- Generate proper InstanceFieldKeys for property accesses with Numbers.
- rewrite to make hardest test appear last
- fix test to properly check reachability
- add an array test that doesn't quite work
- add method to get a PointerKey for a global
- compare FieldValueDispatch objects based on CGNode as well
- Handle duplicate field names between subclass and superclass.
2013-02-06 12:34:25 +01:00
Juergen Graf b82d5dba90 Merge branch 'wala' into master 2012-11-06 04:23:10 +01:00
Manu Sridharan 256cd06460 Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
Juergen Graf a76f93a28c Merge branch 'wala' into master 2011-04-13 13:02:15 +02:00
msridhar1 2b87f070a7 make getBCInfo() synchronized to prevent duplicate code loading by different threads
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4113 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-12 19:20:13 +00:00
Juergen Graf 47711fd310 read enhanced bytecode postions from class attributes 2011-03-30 13:03:16 +02:00
dolby-oss 00871016cb adapt to checkcast change
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3817 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 19:33:34 +00:00
msridhar1 05744fe19b change isVolatile() in IMethod to isBridge(), better reflecting Java spec
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3777 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-03 16:56:49 +00:00
sjfink 6f96d41dc2 remove unnecessary InvalidClassFileException declarations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3618 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-29 14:23:29 +00:00
sjfink de6adbc4d7 more migration to Java assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3559 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 17:42:28 +00:00
sjfink c8bfcb7240 comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3524 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-22 19:17:03 +00:00
sjfink 2bf8eab491 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3494 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-21 19:31:33 +00:00
sjfink 77101da20f misc. cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3434 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-10 19:48:32 +00:00
dolby-oss e80dc6ef8c refactor handling of constants in Shrike to abstract away from Java bytecode
introduce factories to create SSAInstruction objects


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3433 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-10 18:33:07 +00:00
msridhar1 51bd8d2c26 more generics; make ZeroXInstanceKeys.smushMap protected
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3382 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-30 20:41:17 +00:00
dolby-oss b2bae33bab generalize parsing of Descriptors to also handle languages other than Java
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3366 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-26 15:11:45 +00:00
dolby-oss 1b1c7f2b3f further Shrike refactoring to generalize instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3274 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 13:33:00 +00:00
msridhar1 3207e2f5cc small cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3259 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-06 15:23:02 +00:00
dolby-oss aad54f7abc further Shrike refactoring to generalize instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3241 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-26 16:50:52 +00:00
dolby-oss b61135c8be adapt to Shrike changes: divorce SSAInstruction from the Shrike Instruction, which requires adding a type parameter to ControlFlowGraph and propagating that change. Also, stop using the JVML opcode in a few places where it was (unnecessarily) being used.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3227 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-19 15:58:31 +00:00
msridhar1 b42e61dda5 add method to get number of Shrike instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3128 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-11 02:16:18 +00:00
msridhar1 2b210ddb54 added ability to scan for array writes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3063 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-10-22 15:37:15 +00:00
sjfink dc39a8dd86 refactoring: move some classes into appropriate packages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2452 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:20:38 +00:00
sjfink e6a904b715 just refactoring ... introduce 2 new packages in wala.util.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2446 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:05:28 +00:00
sjfink b58bf27b90 fix buggy logic with invokestatic and NPE
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2212 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-17 19:01:46 +00:00
sjfink d445f0861a change ControlFlowGraph.getExceptionalSuccessors to return a List, in order of increasing catch scope
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1822 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-04 15:48:46 +00:00
sjfink 705d847699 push generics signatures down into ShrikeCTMethod
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1250 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-06 18:06:45 +00:00
sjfink 65cc4433cd make some fields final
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1244 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-05 14:01:26 +00:00
sjfink 8e52444761 make many fields final
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1232 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 21:38:35 +00:00
sjfink 9c58d8e2a8 change some Iterators in API to Collections
remove some unnecessary WarningSet parameters

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1208 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-31 02:38:49 +00:00
sjfink ea3caa1e8a mostly clean up old comments.
also rename InferGraphRootsImpl to InferGraphRoots

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1200 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 19:05:23 +00:00
sjfink fdb7a17af3 add @Overrides annotations and nuke unnecessary casts
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1197 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 15:16:05 +00:00
sjfink 46eeca59af Feature 1718799: refactor ShrikeUtil.makeMethodReference and makeFieldReference
into MethodReference and FieldReference findOrCreate()s

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1112 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-14 17:53:49 +00:00
sjfink 2870d1dbc8 soft caching of bytecode info and small API changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@881 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-22 15:48:54 +00:00
sjfink b85c5fc3a5 a little immature generics support
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@560 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-11 17:51:29 +00:00
sjfink 429403c321 rename Shrike*Wrapper to just Shrike*
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@552 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-10 20:51:00 +00:00