[Soot-list] RE: loadClassAndSupport

David A Weiser DWEISER at uwyo.edu
Tue Apr 24 13:15:26 EDT 2007


I'm having trouble with the statement: SootClass CNAclass =
Scene.v().loadClassAndSupport("CommitNodeAlgEventMonitor");

I get an error message that says: " CommitNodeAlgEventMonitor.java:3:
Syntax error: unexpected static.
CommitNodeAlgEventMonitor.java:103: Syntax error: unexpected operator <.
CommitNodeAlgEventMonitor.java:144: Syntax error: unexpected operator <.
jjc: Unable to parse CommitNodeAlgEventMonitor.java."

here are the lines of code that these errors refer to:
import static Atomicity.ReductionAlg.ENABLE_ESCAPE_DETECTION; // line3
ArrayList<DynamicTree> allTreesList = new ArrayList<DynamicTree>(
				allTrees); //line 103
ArrayList<DynamicTree> allTreesList = new ArrayList<DynamicTree>(
				allTrees);// line 144

whats going on here?  Do I need to change something?

Thanks,
Dave

-----Original Message-----
From: soot-list-request at sable.mcgill.ca
[mailto:soot-list-request at sable.mcgill.ca] 
Sent: Tuesday, April 24, 2007 10:00 AM
To: soot-list at sable.mcgill.ca
Subject: Soot-list Digest, Vol 24, Issue 14

Send Soot-list mailing list submissions to
	soot-list at sable.mcgill.ca

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
or, via email, send a message with subject or body 'help' to
	soot-list-request at sable.mcgill.ca

You can reach the person managing the list at
	soot-list-owner at sable.mcgill.ca

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Soot-list digest..."


Today's Topics:

   1. Subclasses of a SootClass (Mario Mendez)
   2. Re: Subclasses of a SootClass (Richard L. Halpert)


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

Message: 1
Date: Tue, 24 Apr 2007 01:04:01 -0600
From: Mario Mendez <mario at cs.unm.edu>
Subject: [Soot-list] Subclasses of a SootClass
To: soot-list at sable.mcgill.ca
Message-ID: <462DABE1.903 at cs.unm.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Is there any method in the API for retrieving all the subclasses of a 
given SootClass? I'm assuming that there is no dynamic class load and 
that soot is invoked with the "--app" option.

Thank you again!


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

Message: 2
Date: Tue, 24 Apr 2007 07:45:35 -0400
From: "Richard L. Halpert" <richardlhalpert at gmail.com>
Subject: Re: [Soot-list] Subclasses of a SootClass
To: "Mario Mendez" <mario at cs.unm.edu>
Cc: soot-list at sable.mcgill.ca
Message-ID:
	<704d36c60704240445w735d02b6l5a99c999b03af129 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Scene.v().getActiveHierarchy().getSubclassesOf(sootclass);

Note that this will fail if your sootclass is an interface.  See the
Hierarchy class for all of the methods pertaining to interfaces.

-Richard

On 4/24/07, Mario Mendez <mario at cs.unm.edu> wrote:
>
> Is there any method in the API for retrieving all the subclasses of a
> given SootClass? I'm assuming that there is no dynamic class load and
> that soot is invoked with the "--app" option.
>
> Thank you again!
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20070424/ff9
3807e/attachment-0001.htm

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

_______________________________________________
Soot-list mailing list
Soot-list at sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list


End of Soot-list Digest, Vol 24, Issue 14
*****************************************


More information about the Soot-list mailing list