[Soot-list] java_cup source version

Eric Bodden eric.bodden at ec-spride.de
Tue Aug 14 07:19:34 EDT 2012


Hi Phil.

Here you go:

https://github.com/Sable/jasmin/tree/master/libs

Eric

On 13 August 2012 11:07, Phil Pratt-Szeliga <pcpratts at chirrup.org> wrote:
> Hello,
>
> I am trying to solve an exception [1] with .class file output after
> spark has run with use-original-names. I am looking to find the
> version of java_cup that soot is using where an exception is possible
> at lr_parser line 553. I looked at all the source releases in [2] and
> cannot find any line 553 that a NullPointerException could occur.
>
> Or another answer would help me: What jar does soot import to get the
> java_cup packages? I cannot find the package when I open any of the
> jars I think soot depends on. I do find a java_cup.jar in clara/libs/,
> but I don't think my basic (non clara) tests cases are using this.
>
> Thanks for any help,
> Phil Pratt-Szeliga
> Syracuse University
>
> [1] Writing to sootOutput/edu/syr/pcpratts/localstestcase/TestUseOriginalNames.class
> Jasmin:1: Jasmin: exception - <java.lang.NullPointerException> null..
> .source
>         ^
> java.lang.NullPointerException
>         at java_cup.runtime.lr_parser.parse(lr_parser.java:553)
>         at jasmin.ClassFile.readJasmin(ClassFile.java:1157)
>         at jasmin.Main.assemble(Main.java:31)
>         at soot.util.JasminOutputStream.flush(JasminOutputStream.java:35)
>         at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:296)
>         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140)
>         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
>         at java.io.PrintWriter.flush(PrintWriter.java:293)
>         at soot.PackManager.writeClass(PackManager.java:961)
>         at soot.PackManager.writeOutput(PackManager.java:513)
>         at soot.PackManager.writeOutput(PackManager.java:424)
>         at soot.Main.run(Main.java:199)
>         at soot.Main.main(Main.java:141)
> Jasmin: Found 1 errors
>
> [2] http://www.cs.princeton.edu/~appel/modern/java/CUP/
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list



-- 
Eric Bodden, Ph.D., http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt


More information about the Soot-list mailing list