Ben Liblit
f60c164ec1
Escape "<" and ">" in Javadoc when not used as HTML tag syntax
2017-12-19 16:53:52 -06:00
Ben Liblit
544a71ae72
Remove type arguments that Java 1.7+ can infer for us
2017-12-04 14:04:39 -08:00
Ben Liblit
ebfd885d22
Use modern for-each loops where possible
...
Java sources used as test data have been excluded from this mass
clean-up.
2017-11-28 14:44:53 -06:00
Ben Liblit
8ef6ad5069
Add proper type parameters to nearly all uses of Iterator
...
Java sources used as test data have been excluded.
2017-11-28 14:09:30 -06:00
Ben Liblit
594525a83f
Fix Eclipse warnings about methods that can be declared static
...
The fix is to add "static" where appropriate, of course. I've also
simplified calls to such methods to reflect the fact that they no
longer need a specific object to call the method on.
In projects that contain test inputs, I've left the non-static
declarations unchanged, and instead downgraded the warning to be
ignored. In all other projects, this warning has been upgraded to an
error.
2017-07-14 22:38:38 -07:00
Juergen Graf
c05415720e
remove custom change markers for code that will be merged to main branch
2014-08-01 12:27:22 +02:00
Juergen Graf
7ad38161b1
remove dependency from slf4j logger in wala.core project
2014-07-30 15:44:17 +02:00
Juergen Graf
6f8aee80c6
Merge branch 'wala' into master
2014-07-28 17:09:02 +02:00
Julian Dolby
dd3124479e
allow control flow in induced cfgs, and various related fixes
2014-07-08 14:44:06 -04:00
Tobias Blaschke
1857121a44
Add "Custom Change" where applicable
...
Added the lines
BEGIN Custom Change
END Custom Change
2014-04-11 17:58:33 +02:00
Tobias Blaschke
00d711dd64
InducedCFG/GoTo: Handle basic block boundarys
...
Building the CFG with a SSAGotoInstuction was buggy: Oftain the wrong
jump-target was selected. This has bin fixed.
Additionally InducedCFG now automaticly breaks the basic-block at the
jump-target.
Jumping to Phi-Instructions however is still unsupported (as they are
not part of the cfg-instructions)
2014-04-11 17:53:13 +02:00
Tobias Blaschke
d5a98f9479
InducedCFG: Accept holes in the local Instruction array
...
The Instruction array in InducedCFG contains null-entries. Wheter that's
intentional or not, skipp over them.
2014-04-11 17:53:12 +02:00
Tobias Blaschke
2d9486b2a9
BUG: empty BB in InducedCFG.addExceptionalEdges
...
Current workaround is to ignore it
2014-04-11 17:53:11 +02:00
Tobias Blaschke
6c5f243ea5
Add GoTo-instruction for Synt. Methods (limited)
...
Implemented the GoTo istruction reachable through the
JavaInstructionFactory.
Caution:
- It has to be asshured manually that a basic block starts at the target
- One may not jump to a Phi-Instruction
2014-04-11 17:50:17 +02:00
Juergen Graf
cdaaddf88b
Merge branch 'wala' into master
2013-07-02 14:23:24 +02:00
Julian Dolby
080325b5f6
merge
2013-06-25 11:57:37 -04:00
Juergen Graf
7c518d1867
added instruction index field to SSAInstruction (javascript not working atm)
2011-04-12 19:49:06 +02:00
sjfink
193560f977
comments
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3540 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 20:14:15 +00:00
sjfink
1b84d0fcc4
comments
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3526 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-22 19:27:52 +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
sjfink
957cb2b8ca
deprecate Trace
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3432 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-09 20:31:14 +00:00
msridhar1
14d06f4d52
remove getExceptionHandlers()
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3383 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-30 20:41:39 +00:00
sjfink
c09661773c
more IllegalArgumentExceptions and related refactoring
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3303 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-13 16:04:53 +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
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
sjfink
dfcbf65e7b
misc. minor cleanups
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2988 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-08-14 21:05:14 +00:00
msridhar1
fd110a1f08
add support for pi instructions in synthetic methods
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2715 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-18 18:57:20 +00:00
sjfink
32a7543322
fix bug with phi instructions in synthetic IRs
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2637 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-29 21:42:17 +00:00
sjfink
acd3f509c1
add a check for an IllegalArgumentException
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2565 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-12 18:33:22 +00:00
sjfink
69592c5773
revert previous change, which breaks slicing test
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2400 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-16 21:12:02 +00:00
dolby-oss
f29e5d9408
fix bug to allow induced basic blocks with more than one instruction; permit subclasses of AbstractRootMethod to access the cache to call invalidate
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2397 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-16 16:03:58 +00:00
sjfink
f4f8d417a5
bug fixes with InducedCFGs and context-sensitive slicing
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2307 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-07 20:31:24 +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
dolby-oss
a3755a70ae
fix for seemingly Sun-Javac-specific compile error
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1718 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-04 14:35:08 +00:00
sjfink
182a53ee8f
generics for control flow graph and filters
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1712 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-02 14:45:41 +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
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
4acf542744
validate some arguments; throw IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1119 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-15 03:15:05 +00:00
sjfink
4ff1b044f8
annotations and minor cleanups
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1004 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-26 12:48:58 +00:00
sjfink
e02937e61b
make IBasicBlock an Iterable<IInstruction>. Rename iterateAllInstructions() to iterator()
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@878 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-22 10:50:42 +00:00
sjfink
e955c1e657
Graph API change: Graph is now an Iterable of Nodes!
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@867 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-21 21:07:30 +00:00
sjfink
df97f42b7e
attempt to introduce tags and trunk
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@490 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2006-11-22 17:38:46 +00:00