Displaying 2 results from an estimated 2 matches for "extern_asan_redzon".
Did you mean:
extern_asan_redzone
2011 Jun 17
3
[LLVMdev] can GlobalAlias point to a middle of a structure?
...itizer (
http://code.google.com/p/address-sanitizer/wiki/AddressSanitizer)
I need to create redzones to the left and to the right of every global
variable.
I tried the following:
Before:
@Extern = global [10 x i8] zeroinitializer, align 1
After:
%0 = type { [32 x i8], [10 x i8], [54 x i8] }
@Extern_asan_redzone = global %0 zeroinitializer, align 1
@0 = global [10 x i8] zeroinitializer, align 1 << the old variable
@Extern = alias getelementptr inbounds (%0* @Extern_asan_redzone, i32 0,
i32 1)
I.e. I created a global struct @Extern_asan_redzone of 3 elements and an
alias @Extern that points to...
2011 Jun 17
0
[LLVMdev] can GlobalAlias point to a middle of a structure?
...sanitizer/wiki/AddressSanitizer)
> I need to create redzones to the left and to the right of every global variable.
>
> I tried the following:
> Before:
> @Extern = global [10 x i8] zeroinitializer, align 1
> After:
> %0 = type { [32 x i8], [10 x i8], [54 x i8] }
> @Extern_asan_redzone = global %0 zeroinitializer, align 1
> @0 = global [10 x i8] zeroinitializer, align 1 << the old variable
> @Extern = alias getelementptr inbounds (%0* @Extern_asan_redzone, i32 0, i32 1)
> I.e. I created a global struct @Extern_asan_redzone of 3 elements and an
> alias @Ex...