MCPcopy Create free account
hub / github.com/Snapchat/Valdi / stashJSValue

Method stashJSValue

valdi/src/valdi/runtime/Interfaces/IJavaScriptContext.cpp:430–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428// native call and VM interrupt paths.
429__attribute__((no_sanitize("thread"))) void IJavaScriptContext::requestInterrupt() {
430 _interruptRequested = true;
431}
432
433__attribute__((no_sanitize("thread"))) void IJavaScriptContext::requestExecutionTermination() {
434 // Unlike the diagnostic interrupt, this is monotonic for the lifetime of
435 // the context. Keeping it sticky also makes native-call checkpoints useful
436 // for engines which cannot interrupt pure JavaScript execution.

Callers 2

JSValueRefHolderMethod · 0.80

Calls 6

isRetainedMethod · 0.80
unsafeReleaseValueMethod · 0.80
getIndexAsSizeMethod · 0.80
getSaltMethod · 0.80
newIdMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected