Mah*_*ish 5 instrumentation arguments function llvm
我正在尝试检测 LLVM IR 调用指令。我想要实现的是获取函数调用的参数。如果参数是指针类型,那么我想获取指针指向的元素/变量。我知道如果我有论据,我可以使用
getPointerElementType to get the type of element the pointer is pointing to.
Run Code Online (Sandbox Code Playgroud)
但是如何访问element的值呢?