- /*
- * DrMemory test x1.c
- *
- * Compile with:
- * $ x86_64-w64-mingw32-gcc -g -gdwarf-2 x1.c
- *
- * Test with:
- * $ drmemory -batch -check_uninitialized -gen_suppress_syms -preload_symbols -- ./a
- */
- #include <stdlib.h>
- #include <string.h>
- #include <stdio.h>
- const int ar[] = { 5, 4, 3, 2, 1, 0 };
- int main(int ac, char *av[])
- {
- int i;
- int j;
- for (i=0 ; i < 16 ; i++) {
- j = ar2[i];
- }
- return 0;
- }
drmemory mingw test1
Posted by Anonymous on Sat 28th Oct 2023 05:52
raw | new post
view followups (newest first): drmemory mingw test1 by Anonymous
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.