MCPcopy
hub / github.com/opentrace/opentrace / writeStackCookie

Function writeStackCookie

ui/public/lbug_wasm_worker.js:1679–1688  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1677 }
1678 var isFileURI = (filename) => filename.startsWith('file://');
1679 function writeStackCookie() {
1680 var max = _emscripten_stack_get_end();
1681 assert((max & 3) == 0);
1682 if (max == 0) {
1683 max += 4;
1684 }
1685 HEAPU32[(max >>> 2) >>> 0] = 34821223;
1686 HEAPU32[((max + 4) >>> 2) >>> 0] = 2310721022;
1687 HEAPU32[(0 >>> 2) >>> 0] = 1668509029;
1688 }
1689 function checkStackCookie() {
1690 if (ABORT) return;
1691 var max = _emscripten_stack_get_end();

Callers 1

stackCheckInitFunction · 0.85

Calls 1

assertFunction · 0.85

Tested by

no test coverage detected