From e3d7a55d648588a67107afe47f9bd4e6da5f1630 Mon Sep 17 00:00:00 2001
From: "(no author)" <(no author)@379699f6-c40d-0410-875b-85095c16579e>
Date: Wed, 7 Jul 1999 17:14:16 +0000
Subject: [PATCH] This commit was manufactured by cvs2svn to create branch
'stable'.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/stable@1049 379699f6-c40d-0410-875b-85095c16579e
---
jode/.cvsignore | 9 +
jode/AUTHORS | 1 +
jode/ChangeLog | 0
jode/INSTALL | 33 +++
jode/Makefile.am | 5 +
jode/NEWS | 10 +
jode/README | 106 ++++++++
jode/acinclude.m4 | 43 +++
jode/configure.in | 128 +++++++++
jode/doc/.cvsignore | 2 +
jode/doc/Makefile.am | 5 +
jode/doc/jode-applet.html | 39 +++
jode/doc/jode-obfuscator.html | 15 ++
jode/doc/jode-unix.html | 97 +++++++
jode/doc/jode-useapplet.html | 49 ++++
jode/doc/jode-win.html | 62 +++++
jode/doc/jode.html | 125 +++++++++
jode/jode/.cvsignore | 4 +
jode/jode/GlobalOptions.java.in | 107 ++++++++
jode/jode/Makefile.am | 231 ++++++++++++++++
jode/jode/swingui/Main.java.in | 278 ++++++++++++++++++++
jode/jode/swingui/PackagesTreeModel.java.in | 176 +++++++++++++
jode/test/.cvsignore | 2 +
jode/test/Makefile.am | 0
24 files changed, 1527 insertions(+)
create mode 100644 jode/.cvsignore
create mode 100644 jode/AUTHORS
create mode 100644 jode/ChangeLog
create mode 100644 jode/INSTALL
create mode 100644 jode/Makefile.am
create mode 100644 jode/NEWS
create mode 100644 jode/README
create mode 100644 jode/acinclude.m4
create mode 100644 jode/configure.in
create mode 100644 jode/doc/.cvsignore
create mode 100644 jode/doc/Makefile.am
create mode 100644 jode/doc/jode-applet.html
create mode 100644 jode/doc/jode-obfuscator.html
create mode 100644 jode/doc/jode-unix.html
create mode 100644 jode/doc/jode-useapplet.html
create mode 100644 jode/doc/jode-win.html
create mode 100644 jode/doc/jode.html
create mode 100644 jode/jode/.cvsignore
create mode 100644 jode/jode/GlobalOptions.java.in
create mode 100644 jode/jode/Makefile.am
create mode 100644 jode/jode/swingui/Main.java.in
create mode 100644 jode/jode/swingui/PackagesTreeModel.java.in
create mode 100644 jode/test/.cvsignore
create mode 100644 jode/test/Makefile.am
diff --git a/jode/.cvsignore b/jode/.cvsignore
new file mode 100644
index 0000000..92379e3
--- /dev/null
+++ b/jode/.cvsignore
@@ -0,0 +1,9 @@
+Makefile
+Makefile.in
+configure
+config.log
+config.cache
+config.status
+stamp-h
+libtool
+aclocal.m4
diff --git a/jode/AUTHORS b/jode/AUTHORS
new file mode 100644
index 0000000..fc38b9f
--- /dev/null
+++ b/jode/AUTHORS
@@ -0,0 +1 @@
+Jochen Hoenicke -g
) and there are often more ways to write
+the same thing. But it does its job quite well.
You can donwload the files in zip form.
+The sources contain only the
+java
files, the classes
+contain only the class
files.
I also have a tar.gz file containing only
+the RCS
directories. This is the form I maintain the
+project, but you probably need unix and a few tools to use them.
There are also some snapshots that have new +features like inner and anonymous classes.
+ +Click here to browse the files online. +
+ + + +I have some simple step by step pages. There are three +possibilities: +
There may be situations, where the code doesn't understand complex +expressions. In this many ugly temporary variables are used, but the +code should still be compileable. This does especially happen when +you compile with `-O' flag and javac has inlined some methods.
+ +Sometimes this program may exit with an Exception
or
+produce incorrect code. Most time the code can't be compiled, so that
+it can be easily spotted. If you have one of these problems (except
+those that occur on some of the jode.test
files, I would
+be very interested in a bug report (including the class
+file, if possible).
Sometimes it generates some GOTO
expression and
+labels. This can't be compiled, but shouldn't happen any more with
+javac or jikes.
It doesn't handle inner and anonymous classes, yet. You can
+decompile them separately, though (use `+$
' switch under
+jikes), but there is a bug in javac, so that a final variable is twice
+initialized. If you encounter this problem just remove the doubled
+line by hand.
New! The latest snapshot can handle +inner and anonymous classes.
+ + +Someday I found guavad
, a disassembler for java byte
+code (it does similar things like javap -c
). I used
+it on a class file, and found that it was possible to reconstruct the
+original java code. First I did it by hand on some small routines,
+but I soon realized that it was a rather stupid task, and that I could
+write a perl
script
+that does the same. At the end of the next day I had a working
+decompiler.
Now while it was working, it was not easy to use. You had to
+decompile the code first with a disassembler, cut the method, you
+wanted to decompile and then run the perl script on it. So I decided
+to get some information of the class files and do this all
+automatically. I decided to write it in java
now,
+because it suited best.
Just for the records: the java code is now more than 50 times +bigger than the original perl script and is still growing.
+ +This code is under GNU GPL. That basically means, that you can copy +or modify this code, as long as you put all your modification under +the GPL again. Look +here for the complete license.
+ ++http://www.informatik.uni-oldenburg.de/~delwi/jode/jode.html, last +updated on 17-Jun-1999.
+ +