MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / malloc

Function malloc

test/core/test_dlmalloc_partial_2.c:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <emscripten/console.h>
11
12void *malloc(size_t size) { return (void *)123; }
13int main() {
14 void *x = malloc(10);
15 emscripten_outf("got %p", x);

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected