Topic: 大家提个醒!类似的代码涉及到java哪几个方面的知识?

  Print this page

1.大家提个醒!类似的代码涉及到java哪几个方面的知识? Copy to clipboard
Posted by: xiaocaox
Posted on: 2004-10-01 09:05

例1:static Class class$com$fotech$hibernate$table$NewsKey;
例2:static Class class$(String x0)
{
return Class.forName(x0);
ClassNotFoundException x1;
x1;
throw new NoClassDefFoundError(x1.getMessage());
}
例3:break MISSING_BLOCK_LABEL_118;
JVM INSTR ret 6;

2.Re:大家提个醒!类似的代码涉及到java哪几个方面的知识? [Re: xiaocaox] Copy to clipboard
Posted by: rainman
Posted on: 2004-10-01 09:10

反编译谁的代码啊?

3.Re:大家提个醒!类似的代码涉及到java哪几个方面的知识? [Re: rainman] Copy to clipboard
Posted by: nothing
Posted on: 2004-10-01 09:45

rainman wrote:
反编译谁的代码啊?


例1:static Class class$com$fotech$hibernate$table$NewsKey;


Big SmileBig Smile

4.Re:大家提个醒!类似的代码涉及到java哪几个方面的知识? [Re: xiaocaox] Copy to clipboard
Posted by: xiaocaox
Posted on: 2004-10-02 14:46

这是一个电子商务网站的源码!没错,是我反编译的。大部分能看懂,就只有以上这3部分看不懂,编译时这3部分也总是报错!可我什么也没改动啊!

5.Re:大家提个醒!类似的代码涉及到java哪几个方面的知识? [Re: xiaocaox] Copy to clipboard
Posted by: steven_652
Posted on: 2004-10-05 22:33

楼主好没道德,居然反编译别人的代码!就算知道这个代码是什么也不告诉你!

6.Re:大家提个醒!类似的代码涉及到java哪几个方面的知识? [Re: xiaocaox] Copy to clipboard
Posted by: GWoo
Posted on: 2004-10-11 17:19

这个也算是没有道德吗?。。。

7.Re:大家提个醒!类似的代码涉及到java哪几个方面的知识? [Re: xiaocaox] Copy to clipboard
Posted by: Hanf
Posted on: 2004-10-11 17:37

反编译代码很正常,谁没反编译过,也是一门技术,呵呵。

例1后半部分看上去是通过包路径引用了1个类NewsKey。
例2看上去是try{}catch(){}。
例3看上去是一个跳转语句。

说错了吗?请指正!

8.Re:大家提个醒!类似的代码涉及到java哪几个方面的知识? [Re: xiaocaox] Copy to clipboard
Posted by: kavinwang
Posted on: 2004-10-19 21:46

xiaocaox wrote:
例1:static Class class$com$fotech$hibernate$table$NewsKey;
例2:static Class class$(String x0)
{
return Class.forName(x0);
ClassNotFoundException x1;
x1;
throw new NoClassDefFoundError(x1.getMessage());
}
例3:break MISSING_BLOCK_LABEL_118;
JVM INSTR ret 6;


例1和例2一块代表 NewsKey k = new NewsKey();

例3:把 break MISSING_BLOCK_LABEL_118;和后面的代码用和它上面的部分代码用try-catch封装起来。反编译后就是这个样子。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923