Taking the address of the acquire or release functions should cause the analysis to fail - we'd have to do a full alias analysis to solve this problem.
I think the way to do this is to look for the function appearing as the first argument to a store instruction - this means that it's being put away somewhere and we don't know where it's going.
Taking the address of the acquire or release functions should cause the analysis to fail - we'd have to do a full alias analysis to solve this problem.