jochen
5858df67cd
check then and else part don't need operands
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@536 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
531893a306
return null as stack if it jumps
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@535 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
32ad9660e8
interpretation with RuntimeEnvironment
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@534 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
3c13d3c5de
multianewarray always has a typesig, never a class
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@533 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
1aa1cddc0b
getParamCount removed
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@532 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
4bf084d477
handle jsr differently
...
call instr.removeInstruction
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@531 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
5e76f2b197
make param locals ourself, number them continously
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@530 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
5635ffd0b9
hashCode
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@529 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
e1875a2439
newArrayTypes
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@528 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
8f11aef005
preds is no longer a vector, but an array
...
getDescription
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@527 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
38e5046902
handle Short/Long constants in different methods
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@526 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
9d0cf969b0
checkTypeSignature
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@525 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
111f217719
sanity checks (static constraints in bytecode verification)
...
prepareWrite doesn't change opcodes back
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@524 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
b00b9012ff
getTypeClass
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@523 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
1b9c1c468f
getParameterClasses/getReturnClass
...
MethodType(Class[], Class)
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@522 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
6b262c4658
typecode is final
...
getTypeClass
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@521 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
5d809f4d7d
removed dummy assign
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@520 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
87098efef5
optimized notConstant case, for methods that first get and then put a field
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@519 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
74ac101d57
remove compile from co.all
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@518 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
c8785ae837
added some copyright message
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@517 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f7eee72ea3
changed copyright comment
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@516 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
5ff87a1e0a
reachableIdentifier fixed for classes
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@515 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
8007f5401f
fix double/long locals, fix jsr
...
remove stores without locads
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@514 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f184ef9b97
match method and fields with wildcards
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@513 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
7e0a3c2c23
added analyzeIdentifier, which marks an Identifier for later analyze
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@512 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
41abc177e9
removed dummy assign (noticed by jode.obfuscator.LocalOptimizer ;-)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@511 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
72244b562e
bug fix in analyzeStack
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@510 379699f6-c40d-0410-875b-85095c16579e
26 years ago
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