| 個人檔案The Unified Era部落格清單 | 說明 |
A Simple Java ObfuscatorBased on Eclipse 3.2 JDT Compiler.
See a demo below: public class A { public static void main(String[] args) { fn(); java.awt.Font f = new Font("宋体",Font.BOLD, 12); fn(0, new Object()); System.out.println(f.getFamily(java.util.Locale.ENGLISH)); System.out.println(11); new A().fn(false); } private static void fn() { } private void fn(boolean b) { } private static void fn(int i, Object o) { i++; o.equals(o); } } import java.awt.Font; import java.io.PrintStream; import java.util.Locale; public class A { public A() { } public static void main(String args[]) { fn(); JVM INSTR new #19 <Class Font>; JVM INSTR dup ; 1; "\u5B8B\u4F53"; JVM INSTR swap ; 12; Font(); Font f; f; new Object(); 0; JVM INSTR swap ; fn(); Locale.ENGLISH; f; JVM INSTR swap ; getFamily(); System.out; JVM INSTR swap ; println(); 11; System.out; JVM INSTR swap ; println(); false; new A(); JVM INSTR swap ; fn(); } private static void fn() { } private void fn(boolean flag) { } private static void fn(int i, Object o) { i++; o; o; JVM INSTR swap ; equals(); JVM INSTR pop ; } } UNSAE Can Support Stand-alone Application Now.Some modifications have been done for UNSAE 1.5 to support stand-alone applications. This maybe very meaningful in the future. About JVix 0.9Codename 'JViz', means M$ Visio for Java to draw some block diagram. So many difficulties have been solved with both the help from open source library and Eclipse GEF news group. Thanks a lot! The change log: 2006/3 Startup, after a lot of hard work, 1.0 released(with source code). features: 1, Can copy bitmap into OS clipboard(Open source code refered to when generating bitmap) 2, Multiple dash-dot line style can be selected. (unique) 3, Format brush. (unique in this kind of tools) 4, Line width can be choosed.(unique) 5, Font choice (face, height and bold/italic) supported.(unique, then GMF supports also). 6, Simplified-full alignment supported for text areas. (GEF's source code refered to) 7, Diagram printing. 2006/8 Updated to JViz 1.5. changes: 1, Update the file format as xml. (open source code from "jox" refered to) 2, Compiled into Java 5 level.(means jvm 5 need to run it) 3, Some bugs fixed. 2006/9 Product JVix 0.9 finished based on JViz 1.5(then update to 1.0 after add some functions such as layer control, opaque settings). features: 1, Full alignment supported for text areas.(GMF's source code refered to, a bug found and fixed) 2, Update the color selector.(GMF's source code refered to) 3, Rectilineal router imported.(GMF's source code refered to) 4, Exporting image file supported.(GMF's source code refered to, and charset problem fixed when exporting with Batik) 5, Fine painting for background and lines. 6, Cylinder element added.(GMF's source code refered to) 7, Right-pop menu updated. 8, A bug fixed (Faild to clone a link when bendpoints exists on it). 9, Some other updates, such as stop the continuous link creation. Software requirements of JVix 0.9 1, JRE/JDK 5.0+ 2, Eclipse IDE 3.2+ 3, GEF 3.2+ JVix 0.9 Finished!Based on "JViz" 1.5, the product "JVix" 0.9 is finished today. Here is a piece of screenshot. And also a svg. ![]() |
|
|