[Valgrind-users] Valgrind tool to print VEX IR only for specific blocks

2021-12-22 Thread Yashas Andaluri via Valgrind-users
Hello I'm trying to create a Valgrind tool that will print VEX IR only for IR blocks corresponding to the code of the input program and will exclude IR blocks corresponding to libraries. I have used ppIRSB() inside the instrument function of the tool to print VEX IR for every IR block encountered.

[Valgrind-users] Obtaining Use-Def information of temporaries in VEX-IR

2020-11-18 Thread Yashas Andaluri via Valgrind-users
Hello I'm trying to write a Valgrind tool that will obtain Use-Def information of temporary values in VEX-IR, i.e, the definition of a temporary value and its uses in the IR. Does an implementation of this already exist in Valgrind which I can use, or should I start from scratch? Thanks Yashas -