hoenicke
31ebef4f9c
Changed compilation procedure to ant.
...
Renamed jode package to net.sf.jode
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1333 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
8c85a88d39
Minor fixes.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1288 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
5e6af53990
* ConstantInstruction.java,IncInstruction.java,ReferenceInstruction.java,SlotInstruction.java,TypeDimensionInstruction.java,TypeInstruction.java: Class and Constructors no longer public.
...
* Instruction.java (forOpcode): added method to create instructions.
* SlotInstruction.java,IncInstruction.java: Use a LocalVariableInfo
entry instead of slot+addr
* BasicBlockReader.java, BasicBlockWriter.java: Adapted Instruction interface.
* BinaryInfo.java: package private class now.
* BinaryInfo.java,FieldInfo.java,MethodInfo.java: Made some methods
package private.
* BasicBlocks.java (getAllInstructions): removed.
(read,readAttribute): no longer protected.
* ClassInfo.java (isGuessed): added.
All classes: bug fixes, etc.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1266 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
723088e8be
New bytecode interface:
...
- Cleaned up loading of class files (via ClassPath).
- load/read can throw IOException
- no implicit loading of information on demand (which never completely worked)
- more documentation.
- BasicBlock representation of method code.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1244 379699f6-c40d-0410-875b-85095c16579e
24 years ago
jochen
ae9c23f5ec
use implementation specific opcode as border opcode instead of xxxunknownxxx
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1146 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
97bf664ac8
Adjust exception range when appending instructions.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1109 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
996fc49dbd
collection interface for instructions.
...
made instructions smaller
canonicalized switch opcodes
use UnifyHash
More methods for TypeSignature
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1095 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
56464880ac
Cleaned up the bytecode module:
...
- no references to jode.type anymore
- all fields in Instruction are private now
- instructions are inserted with length 0, so that addr's are correct
- instruction length increases, when a neighbour gets removed
- all lenghts are recalculated on write
- more checks
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1062 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
a4dc6e4427
getStackPopPush
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@820 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
9777f1ccaa
adjust LineNumberTable and LocalVariableTable when removing instructions
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@623 379699f6-c40d-0410-875b-85095c16579e
25 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
25 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
25 years ago
jochen
1d77b7ad18
Initial revision
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@448 379699f6-c40d-0410-875b-85095c16579e
26 years ago