RESOLVED FIXED183512
Move jsc CLI breakpoint function to $vm
https://bugs.webkit.org/show_bug.cgi?id=183512
Summary Move jsc CLI breakpoint function to $vm
Keith Miller
Reported 2018-03-09 05:20:48 PST
Move jsc CLI breakpoint function to $vm
Attachments
Patch (1.72 KB, patch)
2018-03-09 05:22 PST, Keith Miller
no flags
Patch for landing (4.00 KB, patch)
2018-03-14 12:07 PDT, Keith Miller
no flags
Keith Miller
Comment 1 2018-03-09 05:22:12 PST
EWS Watchlist
Comment 2 2018-03-09 05:23:03 PST
Attachment 335423 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/ChangeLog:8: Please consider whether the use of security-sensitive phrasing could help someone exploit WebKit: fuzzer [changelog/unwantedsecurityterms] [3] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yusuke Suzuki
Comment 3 2018-03-09 06:03:35 PST
Comment on attachment 335423 [details] Patch r=me, nice.
Yusuke Suzuki
Comment 4 2018-03-09 06:06:10 PST
Comment on attachment 335423 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=335423&action=review > Source/JavaScriptCore/jsc.cpp:582 > + addFunction(vm, dollar, "breakpoint", functionBreakpoint, 0); I think, this is `$.breakpoint`, not `$vm.breakpoint`, correct? You can move this to tools/JSDollarVM.cpp
Mark Lam
Comment 5 2018-03-09 06:42:08 PST
Comment on attachment 335423 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=335423&action=review >> Source/JavaScriptCore/jsc.cpp:582 >> + addFunction(vm, dollar, "breakpoint", functionBreakpoint, 0); > > I think, this is `$.breakpoint`, not `$vm.breakpoint`, correct? > You can move this to tools/JSDollarVM.cpp Yes, to put this in $vm, you should add it in JSDollarVM.
David Kilzer (:ddkilzer)
Comment 6 2018-03-14 11:33:33 PDT
Keith Miller
Comment 7 2018-03-14 12:07:14 PDT
Created attachment 335783 [details] Patch for landing
WebKit Commit Bot
Comment 8 2018-03-14 12:44:40 PDT
Comment on attachment 335783 [details] Patch for landing Clearing flags on attachment: 335783 Committed r229605: <https://trac.webkit.org/changeset/229605>
WebKit Commit Bot
Comment 9 2018-03-14 12:44:43 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.