Displaying 1 result from an estimated 1 matches for "__asan_global".
2012 Jun 26
2
[LLVMdev] Proposed Enhancement to AddressSanitizer: Initialization Order
...thm:
>> For each TU:
>> 1. Before each TU's initializers run, conditionally poison the
>> global variable shadow memory
>> -Each global variable is poisoned, unless it was defined in that
>> TU
>> -Additional information is added to struct __asan_global to
>> identify which TU a global was declared in
>>
>
> This could be tricky.
> First, we don't want to poison the linker-initialized globals because they
> are always initialized regardless the TU order.
>
> Second, consider we have 3 TUs, t1, t2, and t3, each has...