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

Unified Diff: pydir/sz_clang_dummies.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 side-by-side diff with in-line comments
Download patch
Index: pydir/sz_clang_dummies.c
diff --git a/pydir/sz_clang_dummies.c b/pydir/sz_clang_dummies.c
new file mode 100644
index 0000000000000000000000000000000000000000..f9de541ec9a332e83e57b97cfd9ac95bb5f070e6
--- /dev/null
+++ b/pydir/sz_clang_dummies.c
@@ -0,0 +1,5 @@
+#include <stddef.h>
+
+void *__asan_dummy_calloc(size_t nmemb, size_t size) {
+ return calloc(nmemb, size);
+}
« pydir/sz-clang.py ('K') | « pydir/sz-clang.py ('k') | tests_lit/asan_tests/Input/calloc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698