Is there a simple way to take the general arguments of a function (Pointer, Array, Integer) and get the values backing the expression, when writing a custom checker? As in, I match against a function such as:
Pointer p;
Integer i;
CallSite f("func");
if(MATCH( f(p,i) ))
//get function arguments
Is there a simple way of getting the values backing p and i? Thanks.
**Language is C++ to make a custom checker