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

Function fxPatternParserCheckStack

xs/sources/xsre.c:2247–2255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2245
2246#if defined(__clang__) || defined (__GNUC__)
2247 __attribute__((no_sanitize_address))
2248#endif
2249void fxPatternParserCheckStack(txPatternParser* parser)
2250{
2251 char x;
2252 char *stack = &x;
2253 if (stack <= parser->stackLimit)
2254 fxPatternParserError(parser, gxErrors[mxNativeStackOverflow]);
2255}
2256
2257void* fxPatternParserCreateChunk(txPatternParser* parser, txSize size)
2258{

Callers 8

fxCharSetExpressionFunction · 0.85
fxSequenceParseFunction · 0.85
fxSequenceMeasureFunction · 0.85
fxAssertionCodeFunction · 0.85
fxCaptureCodeFunction · 0.85
fxDisjunctionCodeFunction · 0.85
fxQuantifierCodeFunction · 0.85
fxSequenceCodeFunction · 0.85

Calls 1

fxPatternParserErrorFunction · 0.85

Tested by

no test coverage detected