Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/test/core/test_asan_memcpy.c
4150 views
1
#include <string.h>
2
#include <stdlib.h>
3
4
int main(void) {
5
char *hello = malloc(4);
6
memcpy(hello, "hello", 5);
7
return hello[3];
8
}
9
10