search for: embtk

Displaying 2 results from an estimated 2 matches for "embtk".

2013 Feb 27
0
[LLVMdev] [PATCH] [Embtk] [compiler-rt] ASAN: Add mips support
On Wed, Feb 27, 2013 at 11:09 PM, Abdoulaye Walsimou Gaye <awg at embtoolkit.org> wrote: > This simple patch makes asan compile for mips (tested on mips32r2el). > The following test code: > int main() > { > char *x = (char*)malloc(10 * sizeof(char*)); > free(x); > return x[5]; > } It would help to enable compiler-rt tests on mips builders to
2013 Feb 27
2
[LLVMdev] [PATCH] [Embtk] [compiler-rt] ASAN: Add mips support
This simple patch makes asan compile for mips (tested on mips32r2el). The following test code: int main() { char *x = (char*)malloc(10 * sizeof(char*)); free(x); return x[5]; } leads to the following output at runtime: ================================================================= ==267== ERROR: AddressSanitizer: heap-use-after-free on address 0x77900fd5 at pc 0x409e1c bp 0x7fb781d8 sp