[Soot-list] How to reuse CFG framework without low-level byte code.

emujrock at verizon.net emujrock at verizon.net
Mon Jul 11 11:47:15 EDT 2005


Hi Chris,

>"Java source code".
Yes it is Java Source Code

>I assume the goto elimination is a *refactoring* taking place because you want maintainable Java source code.

Yes, you may call it ?refactoring?.  I need to remove goto form the original language just to make it legal *.java

>It does seem likely that somebody else has encountered this problem, and you might try looking for an Eclipse plugin.  Googling turns up the jGRASP project, which provides graphical CFG views of >Java source.

Thanks, I will have a look.

I looked at the classes which do ?goto elimination?. I found CycleFinder, IfFinder and so on. I was playing with them to do some refactoring. My Goal would be to replace Jimple classes IfStmt,? with some adapters to allow them to be used with other languages. Also adding some unit tests would be great.

In case I may succeed. What is your outside submission policy if you have any. Will the change be accepted back into the main tree? I would like to avoid maintaining separate branches.

Sincerely, Pavel

BTW. A few general questions about source code.

1.	Do you plan to move to Java 1.5. You have a lot of untyped collections and generifying the code would clarify it.

2.	What are the thought about replacing you log with Apache common-logging. It will decrease the number of singletons significantly. 

3.	I saw some discussion in the previous mails about possible removing of singletons. Any move in that direction?

Sincerely,
Pavel



More information about the Soot-list mailing list