Home | History | Annotate | Download | only in memory

Lines Matching refs:ProtectedMemory

7 // by attackers. ProtectedMemory is a simple wrapper around platform-specific
16 // ProtectedMemory is a container class intended to hold a single variable in
23 // Instances of ProtectedMemory must be declared in the PROTECTED_MEMORY_SECTION
33 // static PROTECTED_MEMORY_SECTION base::ProtectedMemory<Items> items;
43 // PROTECTED_MEMORY_SECTION base::ProtectedMemory<FnPtr> fnPtr;
46 // // initializer for a ProtectedMemory variable. It implicitly sets the
48 // static base::ProtectedMemory<FnPtr>::Initializer I(&fnPtr,
122 class ProtectedMemory {
124 ProtectedMemory() = default;
132 // Helper class for creating simple ProtectedMemory static initializers.
136 // ProtectedMemory and AutoWritableMemory.
137 Initializer(ProtectedMemory<T>* PM, const T& Init);
145 DISALLOW_COPY_AND_ASSIGN(ProtectedMemory);
175 // A class that sets a given ProtectedMemory variable writable while the
180 // 'writers' is a global holding the number of ProtectedMemory instances set
233 static AutoWritableMemory Create(ProtectedMemory<T>& PM) {
268 ProtectedMemory<T>::Initializer::Initializer(ProtectedMemory<T>* PM,