I am developing an application which runs on a Linux environment. Inside /proc/<pid>/smaps, my process contains many anonymous mappings whose origin is unknown to me. It might be dynamically mapped by my code through malloc, or it might belong to one of the static or dynamic libraries that my application uses. There may be other sources of anonymous mappings that I am not aware of.
Is there a way to find which parts of my application are causing these anonymous mappings?