<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/jode/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/jode/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/jode/feature-requests/</id><updated>2009-06-20T10:07:40Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>code analysis</title><link href="https://sourceforge.net/p/jode/feature-requests/16/" rel="alternate"/><published>2009-06-20T10:07:40Z</published><updated>2009-06-20T10:07:40Z</updated><author><name>soorejkv busy</name><uri>https://sourceforge.net/u/soorejkv/</uri></author><id>https://sourceforge.net850464275ef52d7be72aabe517103437791110e3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;how to get bytecode as output from decompiler...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Efficient convenience methods for IfThenElseBlock, LoopBlock</title><link href="https://sourceforge.net/p/jode/feature-requests/15/" rel="alternate"/><published>2007-01-22T08:56:17Z</published><updated>2007-01-22T08:56:17Z</updated><author><name>Trevor Harmon</name><uri>https://sourceforge.net/u/vocaro/</uri></author><id>https://sourceforge.net51ddb779bb1cc95cdc3f502cc52b0b154c38a3bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In IfThenElseBlock, there is no obvious mechanism for checking whether it has an "else" part. The only way is to check whether getSubBlocks() returns an array of length 1 or 2, but that allocates memory on every call. That's why it would be nice to have the following method added to IfThenElseBlock:&lt;/p&gt;
&lt;p&gt;public boolean hasElse() {&lt;br /&gt;
return elseBlock != null;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Along those same lines, you can't obtain a handle to a LoopBlock's body without allocating memory (on each call to getSubBlocks()). Therefore, it would be nice to have the following method in LoopBlock.java:&lt;/p&gt;
&lt;p&gt;public StructuredBlock getBody() {&lt;br /&gt;
return bodyBlock;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support Java SE 6 (class file version 50.0)</title><link href="https://sourceforge.net/p/jode/feature-requests/14/" rel="alternate"/><published>2006-03-21T10:52:00Z</published><updated>2006-03-21T10:52:00Z</updated><author><name>Roberto S. Tyley</name><uri>https://sourceforge.net/u/robertito/</uri></author><id>https://sourceforge.net1b1b5471e078eca3924f7b7eacc292e442d28141</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Could you add support for Mustang (Java SE 6, class&lt;br /&gt;
file version 50.0) to JODE? Yep, I have no idea how&lt;br /&gt;
hard this would be - I can supply classes that&lt;br /&gt;
currently fail to decompile if you like!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Roberto&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add option "convert Unicode strings into ANSI strings"</title><link href="https://sourceforge.net/p/jode/feature-requests/13/" rel="alternate"/><published>2005-07-04T05:28:37Z</published><updated>2005-07-04T05:28:37Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net22d86fbc888b28995dc6cf582b5165b9c9e55b6e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please Add option "convert Unicode strings into ANSI&lt;br /&gt;
strings" (ansi) like jad.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support for Java 5</title><link href="https://sourceforge.net/p/jode/feature-requests/12/" rel="alternate"/><published>2005-05-03T14:53:06Z</published><updated>2005-05-03T14:53:06Z</updated><author><name>Lapo Luchini</name><uri>https://sourceforge.net/u/lapo/</uri></author><id>https://sourceforge.net79fcbaeed7dc67579ba2600d88cbd92663b80863</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Supporting generics and such "news" in Java 5 (aka 1.5)&lt;br /&gt;
would be great, of course.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bully Jad auth to reveal C++ source code.</title><link href="https://sourceforge.net/p/jode/feature-requests/11/" rel="alternate"/><published>2004-09-09T12:03:36Z</published><updated>2004-09-09T12:03:36Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.neta59fb743511c41735fe7f6fe873c716c97dad90e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry, but JODE blows chunks, what we need is a red hot&lt;br /&gt;
poker and the author of Jad so that we can extract the&lt;br /&gt;
'secrets' of how to write a decent Java decompiler,&lt;br /&gt;
then develop one which works with Java 1.4 and 1.5 too!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support decompile for JRE 1.4</title><link href="https://sourceforge.net/p/jode/feature-requests/10/" rel="alternate"/><published>2003-09-24T07:58:25Z</published><updated>2003-09-24T07:58:25Z</updated><author><name>Ran Cohen</name><uri>https://sourceforge.net/u/ranc/</uri></author><id>https://sourceforge.nete2a2eeae87c51c085da64a8eac9f9f993bc43510</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Need to decompile JRE 1.4, Jode fails on decompiling JRE &lt;br /&gt;
1.4 classes.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>String hiding</title><link href="https://sourceforge.net/p/jode/feature-requests/9/" rel="alternate"/><published>2001-12-17T20:16:39Z</published><updated>2001-12-17T20:16:39Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netccbeb334477ff9fff094bd441b6f701c41747192</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Not a feature request, just some code if anyone wants &lt;br /&gt;
it. Didn't know where to put it. &lt;/p&gt;
&lt;p&gt;It's a very simple string hider, but it works pretty &lt;br /&gt;
well, combined with StrongRenamer:&lt;/p&gt;
&lt;p&gt;pre = new StringMangler { decoder=&amp;amp;quot;test.Obj&amp;amp;quot; }&lt;br /&gt;
renamer = new StrongRenamer { charset = &amp;amp;quot;_&amp;amp;quot; }&lt;/p&gt;
&lt;p&gt;.. gives ..&lt;/p&gt;
&lt;p&gt;public void run() {&lt;br /&gt;
_._._(_._._(__._(&amp;amp;quot;uk\u007f~eu&amp;amp;quot;, 8) + __ + __._&lt;br /&gt;
(&amp;amp;quot;u&amp;amp;quot;, 25) + ___ + __._(&amp;amp;quot;u&amp;amp;quot;, 42)), ____);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Code below.. to use it you'll have to cut-n-paste the &lt;br /&gt;
_mangle() part (at the bottom) into one of the classes &lt;br /&gt;
you're obfuscating, and name that class in the config &lt;br /&gt;
file.&lt;br /&gt;
&amp;amp;lt;hr&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;package jode.obfuscator.modules;&lt;br /&gt;
import jode.obfuscator.*;&lt;br /&gt;
import jode.bytecode.*;&lt;br /&gt;
import java.util.*;&lt;/p&gt;
&lt;p&gt;public class StringMangler implements &lt;br /&gt;
CodeTransformer,Opcodes,OptionHandler {&lt;br /&gt;
int numC;&lt;br /&gt;
Reference mangler;&lt;/p&gt;
&lt;p&gt;public void setOption(String opt, Collection &lt;br /&gt;
val) {&lt;br /&gt;
if(opt.startsWith(&amp;amp;quot;decoder&amp;amp;quot;)) {&lt;br /&gt;
String s = (String) &lt;br /&gt;
val.iterator().next();&lt;br /&gt;
mangler = &lt;br /&gt;
Reference.getReference(&lt;/p&gt;
&lt;p&gt;&amp;amp;quot;L&amp;amp;quot;+s+&amp;amp;quot;;&amp;amp;quot;,   // &amp;amp;lt;-- the class where you &lt;br /&gt;
put the _mangle function&lt;/p&gt;
&lt;p&gt;&amp;amp;quot;_mangle&amp;amp;quot;,&lt;/p&gt;
&lt;p&gt;&amp;amp;quot;(Ljava/lang/String;I)Ljava/lang/String;&amp;amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
public void transformCode(BytecodeInfo bc) {&lt;br /&gt;
if(mangler==null) throw new Error(&amp;amp;quot;You &lt;br /&gt;
need to set the decoder parameter.&amp;amp;quot;);&lt;br /&gt;
ListIterator lit = bc.getInstructions&lt;br /&gt;
().listIterator();&lt;br /&gt;
while(lit.hasNext()) {&lt;br /&gt;
Instruction ldc = &lt;br /&gt;
(Instruction) lit.next();&lt;/p&gt;
&lt;p&gt;int op = ldc.getOpcode();&lt;br /&gt;
// ldc?&lt;br /&gt;
if(op!=opc_ldc) continue;&lt;/p&gt;
&lt;p&gt;Object obj = ldc.getConstant();&lt;br /&gt;
if(obj instanceof String) {&lt;/p&gt;
&lt;p&gt;String s = (String)obj;&lt;/p&gt;
&lt;p&gt;int ofs = (numC++)*17 &lt;br /&gt;
% _maxStr;&lt;br /&gt;
if(numC&amp;amp;gt;=_maxStr) &lt;br /&gt;
throw new Error(&amp;amp;quot;Out of buffer space&amp;amp;quot;);&lt;/p&gt;
&lt;p&gt;ldc.setConstant(_mangle&lt;br /&gt;
(s,ofs));&lt;/p&gt;
&lt;p&gt;Instruction loadInt = &lt;br /&gt;
new Instruction(opc_ldc);&lt;br /&gt;
loadInt.setConstant&lt;br /&gt;
(new Integer(ofs));&lt;br /&gt;
lit.add(loadInt);&lt;/p&gt;
&lt;p&gt;Instruction call = new &lt;br /&gt;
Instruction(opc_invokestatic);&lt;br /&gt;
call.setReference&lt;br /&gt;
(mangler);&lt;br /&gt;
lit.add(call);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;// -- snip&lt;br /&gt;
static final int _maxStr = 200;&lt;br /&gt;
static String[] _cache = new String[_maxStr];&lt;br /&gt;
public static String _mangle(String s0,int i) {&lt;br /&gt;
String s;&lt;br /&gt;
if((s=_cache[i])!=null) return s;&lt;br /&gt;
char[] c = s0.toCharArray();&lt;br /&gt;
for(int j=c.length;j--&amp;amp;gt;0;) c[j]^=42;&lt;br /&gt;
return _cache[i] = new String(c);&lt;br /&gt;
}&lt;br /&gt;
// -- snip&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ANT task</title><link href="https://sourceforge.net/p/jode/feature-requests/8/" rel="alternate"/><published>2001-12-05T20:21:17Z</published><updated>2001-12-05T20:21:17Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete78f141097fa6e9d4e45f47ac61e3dfbea6ea05a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It'd be nice if there was an Ant interface to Jode's&lt;br /&gt;
obfuscator.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Syntax Highlighting</title><link href="https://sourceforge.net/p/jode/feature-requests/7/" rel="alternate"/><published>2001-11-10T18:37:45Z</published><updated>2001-11-10T18:37:45Z</updated><author><name>Murali Varadarajan</name><uri>https://sourceforge.net/u/muvar3/</uri></author><id>https://sourceforge.netfd61f6607ed9a40848cd7b3cb3cfff9827ea9c4f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
I downloaded &amp;amp;amp; used JODE 1.1. It was pretty good &amp;amp;amp; &lt;br /&gt;
really enjoyed. Prior to this I was using Jad( C++). &lt;br /&gt;
In JODE I really liked the feature of showing all the &lt;br /&gt;
classes in tree format &amp;amp;amp; decompiling them on the fly &lt;br /&gt;
while displaying it.&lt;br /&gt;
If the source code is displayed with basic syntax &lt;br /&gt;
highlighting ,I think it will be a big value addition. &lt;br /&gt;
There won't be any necessity to compile the code &lt;br /&gt;
permanently &amp;amp;amp; push into favourite IDE.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
Murali Varadarajan&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>