Erik Derr
ee13713c4d
Impl of IMethod.is(Wala)Synthetic and IClass.isSynthetic ( #359 )
...
* Impl of IMethod isSynthetic and isWalaSynthetic
So far IMethod.isSynthetic referred to WALA-generated helper functions
and there was no equivalent to check whether an IMethod is synthetic in
terms of compiler-generated.
To make naming consistent this patch first renames the isSynthetic to
isWalaSynthetic to clearly indicate that a given IMethod was generated
by WALA. Then, we re-introduce isSynthetic that from now on checks
whether an IMethod is synthetic/compiler-generated (referring to the
synthetic flag in bytecode)
* Implementation of IClass.isSynthetic
Complementary to IMethod.isSynthetic, this method checks whether
an IClass is compiler-generated.
* updated JavaDoc
2018-10-02 22:28:21 -07:00
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
059810c1ca
Fix 9 Eclipse warnings about unused methods
...
Note: some of these methods are decidedly nontrivial. Perhaps they
should not actually be removed? If any should be kept around, please
identify them to me. I'll revise this change to retain those methods
and simply annotate them as needed to suppress Eclipse's warning.
2017-03-20 00:44:36 -05:00
Ben Liblit
296657a394
Suppress 88 Eclipse warnings about dead code
...
All of these involve conditionals that check some static, final debug
flag or debug level. The code will indeed be dead if WALA is built
with those debug facilities turned off. But we still want the code
present in case someone needs to turn some aspect of debugging on for
a while.
2017-03-17 21:49:34 -05:00
Julian Dolby
d24519e974
cross-cutting changes to make more of WALA runnable with TeaVM. The biggest change is refactoring to AnalysisCache and friends; since TeaVM does not support SoftReference, I needed to add a layer of interfaces so that I can use a more simpleminded caching implementation for TeaVM. There are other changes to Module and friends to break connections with File and URL, which also cause TeaVM grief. I also organized imports in many places to remove unused types that caused trouble.
2017-02-02 20:33:27 -05:00
Julian Dolby
080325b5f6
merge
2013-06-25 11:57:37 -04: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
sjfink
f63e374a4b
more IllegalArgumentExceptions. a few small bug fixes
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3278 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 16:57:32 +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
92ffa60892
disable handling of java.lang.Class methods when Method.invoke handling is disabled
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3222 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-13 15:06:17 +00:00
msridhar1
512634d9e6
bug fix
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3217 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-06 18:35:46 +00:00
msridhar1
714d6ac94b
bug fix
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3216 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-06 18:28:51 +00:00
msridhar1
5afc8190f5
bug fix, added repOk()
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3215 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-06 15:18:45 +00:00
msridhar1
3ee24d710e
added PABasedMemoryAccessMap; added getHeapModel() to MemoryAccessMap
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2817 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-15 18:04:43 +00:00
msridhar1
1e19994dc1
small bug fixes
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2744 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-03 22:12:44 +00:00
msridhar1
39c0119125
debugging code added
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2666 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-04 17:31:03 +00:00
sjfink
9472396187
fixes to use HashSetFactory and HashMapFactory
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2613 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-25 16:37:51 +00:00
msridhar1
50be4da515
generalization of memory access maps
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2470 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-25 02:17:00 +00:00