[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Jimplifying entire library file?




For second problem, I solved it with the previous thread "[PATCH] fix for bug #85"


Kyungwoo

From: "Lee KyungWoo" <leekw892@hotmail.com>
To: soot-list@sable.mcgill.ca
Subject: Jimplifying entire library file?
Date: Wed, 18 Feb 2004 20:58:10 +0000


Hello,


1.

After modifying some code to put the entire classes of rt.jar as the application class(Of course, I set all the dependent jar(jce.jar, etc) files at the classpath), I tried to jimplify the entire library file of rt.jar(jdk1.4.1).but failed with the following error.
This happend when jimplifying the class "<sun.nio.ch.SocketChannelImpl: int read(java.nio.ByteBuffer)>"


Exception in thread "main" java.lang.RuntimeException: Exception range does not coincide with jimple instructions
at soot.coffi.CFG.jimplify(CFG.java:1506)
at soot.coffi.CFG.jimplify(CFG.java:1099)
at soot.coffi.CoffiMethodSource.getBody(CoffiMethodSource.java:98)
at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:79)
at soot.SootMethod.retrieveActiveBody(SootMethod.java:276)
at soot.PackManager.runBodyPacks(PackManager.java:513)
at soot.PackManager.runBodyPacks(PackManager.java:286)
at soot.PackManager.runPacks(PackManager.java:245)
at soot.Main.run(Main.java:172)
at soot.Main.main(Main.java:152)



2.


I also tried to jimplify the gnu classfile library(glibj.zip).
In this case, it crashed with some different error.

Exception in thread "main" java.lang.RuntimeException: Aborting: can't find classfile[Ljava.lang.Object;
at soot.Scene.getSootClass(Scene.java:305)
at soot.coffi.CFG.generateJimple(CFG.java:4441)
at soot.coffi.CFG.jimplify(CFG.java:1463)
at soot.coffi.CFG.jimplify(CFG.java:1126)
at soot.coffi.CoffiMethodSource.getBody(CoffiMethodSource.java:98)
at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:79)
at soot.SootMethod.retrieveActiveBody(SootMethod.java:274)
at soot.PackManager.runBodyPacks(PackManager.java:477)
at soot.PackManager.runBodyPacks(PackManager.java:318)
at soot.PackManager.runPacks(PackManager.java:278)
at soot.Main.run(Main.java:180)
at soot.Main.main(Main.java:154)



Is there anybody knows the reason or solution?


Thanks,
Kyungwoo

_________________________________________________________________
전세계인이 함께하는 웹 메일 서비스인 MSN Hotmail을 만나 보세요. http://loginnet.passport.com/login.srf?id=2&svc=mail&cbid=24325&msppjph=1&lc=1042




_________________________________________________________________
책상위에 다리 올리고 느긋하게 즐긴다... MSN 온라인 상영관 http://vod.msn.co.kr