Hi Sunil, > Can we check whether a function is user defined or not? please be more explicit. Are you talking about: in the LLVM IR, in the clang AST, or ... ? What is a user defined function? For example, do you consider functions defined in system headers to be user defined even though they didn't of course write them? Ciao, Duncan.