jochen
36834d3fcc
mapStackToLocal: fix
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@509 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
2e354c7d5b
don't replace pop2 with if (stack == stack) /*empty*/, since this can
...
lead to type errors
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@508 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
303d5b2fe1
more verbose error messages
...
changed copyright comment
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@507 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
346300a6a8
set jump.stackMap
...
changed copyright comment
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@506 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
23e89665b7
update jump.stackMap
...
give return address a type
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@505 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
69db3adb88
setType of pushedLocal (mainly for stackSize)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@504 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
73985b87a4
update jump.stackMap if jump != null
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@503 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
295632ab86
fixed a bug, where some jumps were neither resolved nor put on remaining
...
list in resolveSomeJumps
END_OF_METHOD no longer can have predecessors
mapStackToLocals is more verbose on errors
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@502 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ebbdf1e44f
simplify values
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@501 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
20091fa56d
Initial revision
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@500 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
c0c72ebfec
Use a CodeAnalyzer
...
use SoftReference under jdk1.2
clean up unused fields
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@499 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
6837d30c69
added analyze method
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@498 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
c8f5ba46ac
Save constant, isNotConstant information
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@497 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
4b6fdba442
fix in checkcast
...
Use Reference
simplification of opcodes
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@496 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
7cbfee8e50
use reference
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@495 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
a5db396a49
use Reference
...
MethodType changed
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@494 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
6cd193db25
Use Reference
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@493 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
23986f67c1
MethodType changed
...
.,
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@492 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
968e24ed1f
fixes for switch blocks
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@491 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
15b9ad802a
MethodType changed
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@490 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
0585583c26
use getConstant instead of reading ConstantValue attribute ourself
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@489 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
e4407e4c47
clear tmpInfo after analyzing
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@488 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
543f1cc3d4
some methods added to add/remove/show/modify instructions
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@487 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ba69dc47cb
Reference instead of String[3[
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@486 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
33e95a8713
read ConstantValue attribute
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@485 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
08f7ce61e5
Reference instead of String[3]
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@484 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
66ca7ba07a
WeakReferences for JDK1.2
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@483 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
8ebe96a5ac
added copyright
...
debugging messages
big rewrites
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@482 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
50add9944b
changed copyright
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@481 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f2c7562eaf
hex optimized
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@480 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
4150e5c3aa
getDefaultValue added
...
WeakReferences for jdk1.2
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@479 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
521eaf3f22
added copyright
...
is now a subclass of Type
staticFlag removed
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@478 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
83d1b39a7d
added copyright
...
getDefaultValue added
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@477 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
3c368f3a9b
Initial revision
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@476 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
715af096ca
added copyright
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@475 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
021b54977d
ci addHeader.pl
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@474 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
6ea2cfece6
ci TODO
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@473 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ea628da246
CodeInfo loading moved to codeanalyzer
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@472 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
6895f071d3
overwrite parameter and use only one local
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@471 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f06681c378
a simple test for overwriting parameters
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@470 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
5cb3c63388
Use BytecodeInfo, much much much simpler now :-)
...
Do some code transformations
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@469 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
9267e857f7
Initial revision
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@468 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
c7fbe7c2b9
reserveSmallConstants renamed to doCodeTransformation
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@467 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ed8097fb50
Use new BytecodeInfo, got a bit simpler
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@466 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
c96266226d
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@465 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
8768f0e902
destinations are FlowBlocks, not addresses
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@464 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
df363d6ed0
fillSuccessor has different semantic: It calls addSuccessor of flowBlock
...
on each jump
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@463 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
6e8cf9cbad
jump.destAddr removed
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@462 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
45bee37c0c
Simpler use of ConstOperator
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@461 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
01d4915520
removed destAddr
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@460 379699f6-c40d-0410-875b-85095c16579e
26 years ago