Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: tests_lit/asan_tests/Input/calloc.c

Issue 2145213002: Subzero: implemented wrapper script to replace calls to calloc() (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Updated command examples Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #include <stdlib.h>
2 #include <string.h>
3 #include <stdio.h>
4
5 int main(void) {
6 void *buf = calloc(14, sizeof(int));
7 strcpy(buf, "Hello, world!");
8 printf("%s\n", buf);
9 free(buf);
10 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698