[aspectc-user] Get caller of aspect

João Bispo joaobispo at gmail.com
Tue Jun 28 02:02:08 CEST 2016


I would like to build a call graph using AspectC++, and for this, for each
function call, I need the caller and the callee. I already know how to get
the callee:

  advice call("% %()") : before() {

     std::cout << "Callee: " << JoinPoint::signature() << std::endl;


Is there a way to obtain the caller in the same aspect as the callee?


João Bispo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20160628/a52195aa/attachment.html>

More information about the aspectc-user mailing list