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

Function getHeapDumpBuilder

valdi/src/valdi/quickjs/QuickJSJavaScriptContext.cpp:1067–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1065 Valdi::JSExceptionTracker& exceptionTracker) {
1066 auto guard = _threadAccessChecker.guard();
1067 size_t len = 0;
1068 const auto* cString = JS_ToCStringLen(_context, &len, fromValdiJSValue(value));
1069 if (!checkCall(exceptionTracker, cString == nullptr ? -1 : 0)) {
1070 return Valdi::StringBox();
1071 }
1072

Callers 3

onObjectBeginFunction · 0.85
onObjectEdgePropertyFunction · 0.85
onObjectEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected