Hi, > That's the reason I have defined getAnalysisUsage method. Isn't that the > right way to do it? no, that gives you access to whatever alias analysis has been computed, but it doesn't specify what kind of alias analysis should be computed (there are several). Try something like this: opt -load=my_pass.so -basic-aa -run_my_pass ... Ciao, Duncan.