Re: [abc-users] Determine a basic block

From: Thomas Pawlitzki <mailinglist_at_pawlitzki.name>
Date: Mon, 21 Apr 2008 15:29:00 +0200

Hey Eric,

2008/4/21, Eric Bodden <eric.bodden_at_mail.mcgill.ca>:
> I think the problem lies in:
> abc.weaving.weaver.ShadowPointsSetter.setShadowPointsPass1(SootClass)

Yes, this is probably the location I have to trim.

> Right now this method is prepare to handle StmtShadowMatches and
> BodyShadowMatches but I guess your shadow match is neither of those,
> right? Therefore you might have to subclass ShadowPointsSetter. The
> points is that you need to have created a correct version of
> ShadowPoints with the correct begin/end Jimple statements.

Out of source-view i extend with my BlockShadowMatch the
StmtShadowMatch. The stmt of my BlockShadowMatch ist the beginning of
my "source-code"-block. Additional to this stmt my ShadowMatch
includes a second statement being the end statement of the
"source-code"-block. When i got it right i have to provide an own
Weaver and overrride the Weaver.inlineConstructors() method in order
to instantiate my own ShadowPointsSetter.

I copy a lot of code from the original ShadowPointsSetter into my own
an add a simple routine which handles my BlockShadowMatches.

Is it this what you meant?

Greetings,
Thomas
Received on Mon Apr 21 2008 - 14:29:03 BST

This archive was generated by hypermail 2.2.0 : Mon Apr 21 2008 - 15:10:11 BST