On 10/05/2012 03:18 AM, Christoph Niethammer wrote:
> Hello,
> 
> I am wondering if there is any example or manual/documentation which shows 
> how 
> to decode a program on the instruction level with valgrind. The VEX header 
> files are somehow confusing me.
> 

No, there are no docs for what you seek.

Take a look at the 1st attachment of this bug:
https://bugs.kde.org/show_bug.cgi?id=272405
That is a standalone program that reads insns from a file and pipes them
through VEX. It does all the setup and initialisation work that
VEX needs.
The catch is that it is somewhat old and may no longer compile.
But it should not be too difficult to update it. The overall flow in VEX
hasn't changed since.
You need to link against e.g VEX/libvex-amd64-linux.a (depending on
the platform you're on).

   Florian


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to