Static Analysis of Contextual Memory Accesses for Safe Memory Sharing | Synapse