Lines Matching full:globals
12 // Handle globals.
51 // We want to remember where a certain range of globals was registered.
106 int GetGlobalsForAddress(uptr addr, Global *globals, u32 *reg_sites,
116 globals[res] = g;
140 // so we store the globals in a map.
151 // where two globals with the same name are defined in different modules.
215 // Register an array of globals.
216 void __asan_register_globals(__asan_global *globals, uptr n) {
224 GlobalRegistrationSite site = {stack_id, &globals[0], &globals[n - 1]};
228 Printf("=== ID %d; %p %p\n", stack_id, &globals[0], &globals[n - 1]);
231 RegisterGlobal(&globals[i]);
235 // Unregister an array of globals.
237 void __asan_unregister_globals(__asan_global *globals, uptr n) {
241 UnregisterGlobal(&globals[i]);
246 // when all dynamically initialized globals are unpoisoned. This method
273 // all dynamically initialized globals except for those defined in the current
274 // TU are poisoned. It simply unpoisons all dynamically initialized globals.
281 // FIXME: Optionally report that we're unpoisoning globals from a module.