Skip to content

Commit

Permalink
Add call to SpewStringTaint
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbrbr committed Jan 23, 2025
1 parent ebc1d13 commit d51a31b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/src/jsapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5088,6 +5088,11 @@ JS_ReportTaintSink(JSContext* cx, JS::HandleString str, const char* sink, JS::Ha
#if defined(JS_TAINTSPEW)
WriteTaintToFile(cx, str, retVal);
#endif

// Enable with ac_add_options --enable-jitspew
#if defined (JS_JITSPEW)
MaybeSpewStringTaint(cx, str, retval);
#endif
}

JS_PUBLIC_API bool JS::FinishIncrementalEncoding(JSContext* cx,
Expand Down

0 comments on commit d51a31b

Please sign in to comment.