[Soot-list] Finding Pointcuts in Aspect J in Jimple

Eric Bodden eric.bodden at mail.mcgill.ca
Thu Jun 12 09:51:45 EDT 2008


Hi.

Are you using ajc to compile your aspects? If you can, use abc
instead. (http://www.aspectbench.org/) This AspectJ compiler is based
on Soot and you have direct access to all the joinpoint shadows (I
think that is what you are looking for).

Eric

2008/6/12 Fei Yan <feiya200 at cs.uregina.ca>:
- Show quoted text -
> Hi everyone,
>
> If I use AspectJ captures some pointcuts, for example before a method call
> to System.out.println(). Would it be possible to find these pointcuts again
> in the UnitChain of a Jimple method?
>
> I dont know where I should start with this problem. It's like I should put
> something in the advice part of these pointcuts to record some sort of
> instruction signature so I can look up the UnitChain for the instruction. Am
> I right?
>
> Any suggestion would be helpful.
>
> Thank you!
>
> Alvin
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>

-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list