Displaying 1 result from an estimated 1 matches for "452db3e1".
2020 Feb 19
2
Advice on memory copy instrumentation
Hi all,
Given a couple of lines of C++ code `int x = 42; int y = x`, we end up with
the following LLVM IR instructions:
%x = alloca i32, align 4
%y = alloca i32, align 4
store i32 42, i32* %x, align 4
%0 = load i32, i32* %x, align 4
store i32 %0, i32* %y, align 4
Is it possible to instrument the IR to perform a value trace?
What I'd like to do is stream a log of memory copies (reads then