[Soot-list] Invalid "sootified" class files

Sébastien Adam sebastien.adam at gmail.com
Tue Feb 7 19:55:32 EST 2006


Hi,

 

I used Soot class files, i.e. sootclasses-2289.jar, jasminclasses-2289.jar,
and polyglotclasses-1.3.1.jar, to process SableCC-3.2.

 

I sent the following command lines to Soot. Note that I erased the classpath
details.

 

----------------------------------

java soot.Main --cp 
 --app --process-dir C:\SableCCBenchmark\bin

 

java soot.Main --O –cp 
 --app --process-dir C:\SableCCBenchmark\bin

----------------------------------

 

These commands produced some “sootfied” class files. 

 

Then I executed these class files to obtain the following result.

 

----------------------------------

SableCC version 3.2

Copyright (C) 1997-2003 Etienne M. Gagnon <etienne.gagnon at uqam.ca> and
others.  All rights reserved.

 

This software comes with ABSOLUTELY NO WARRANTY.  This is free software, and
you are welcome to redistribute it under certain conditions.

 

Type 'sablecc -license' to view the complete copyright notice and license.

 

 -- Generating parser for java14.scc in C:\sabs\local\system\temp\sablecc

java.lang.ClassCastException: sablecc.node.TId

        at sablecc.parser.Parser.parse(Parser.java:1786)

        at sablecc.SableCC.processGrammar(SableCC.java:203)

        at sablecc.SableCC.processGrammar(SableCC.java:171)

        at sablecc.SableCC.main(SableCC.java:137)

----------------------------------

 

As shown above, I can not execute the “sootified” class files. These classes
contain some invalid statement surely generated by Soot.

 

I did the same thing with SableCC-2.18.2 and I got the same results.

 

What can I do to find the problem?

 

Can somebody help me?

 

If somebody needs my class files, I will send them to his email address.

 

Regards,

Sébastien 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20060207/119d0b7e/attachment.htm


More information about the Soot-list mailing list