Re: [DynInst_API:] [DynInst_API] Finding all references to a variable


Date: Mon, 27 Jun 2016 10:53:51 -0500
From: Bill Williams <bill@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] [DynInst_API] Finding all references to a variable
On 06/26/2016 11:52 AM, Frederik Peukert wrote:
Hi all,

I consider using Dyninst for a University project and I need to instrument the access to a variable.
Therefore, it is necessary to find every usage of this variable in the whole program.
The Slicer class from the DataflowAPI seems to be right starting point. However, there seems to be no documentation.

Could someone please provide me some hints or some lines of code as a starting point?

There's a draft of the DataflowAPI manual checked into the main repository:

https://github.com/dyninst/dyninst/blob/master/dataflowAPI/doc/dataflowAPI.pdf

Depending on what symbols/debug information you have, you may not need slicing much/at all, but that's another topic entirely...

--bw
Thanks!

—Fredi


_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

[← Prev in Thread] Current Thread [Next in Thread→]