MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxCheckCStack

Function fxCheckCStack

xs/sources/xsMemory.c:269–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267
268#if defined(__clang__) || defined (__GNUC__)
269 __attribute__((no_sanitize_address))
270#endif
271void fxCheckCStack(txMachine* the)
272{
273 char x;
274 char *stack = &x;
275 if (stack <= the->stackLimit) {
276 fxAbort(the, XS_NATIVE_STACK_OVERFLOW_EXIT);
277 }
278}
279
280void fxCollect(txMachine* the, txFlag theFlag)
281{

Callers 5

fxLinkTransferFunction · 0.85
fxMarkReferenceFunction · 0.85
fxMarkValueFunction · 0.85
fxIndexReferenceFunction · 0.85

Calls 1

fxAbortFunction · 0.70

Tested by

no test coverage detected