[Webkit-unassigned] [Bug 203898] Add FuzzerAgent that reads predictions from a file

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 13 06:30:43 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=203898

--- Comment #8 from Tuomas Karkkainen <tuomas.webkit at apple.com> ---
(In reply to Saam Barati from comment #2)
> Comment on attachment 382922 [details]
> proposed patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=382922&action=review
> 
> > Source/JavaScriptCore/runtime/FileBasedFuzzerAgent.cpp:59
> > +    BytecodeIndex bytecodeIndex = codeOrigin.bytecodeIndex();
> > +    codeBlock->expressionRangeForBytecodeIndex(bytecodeIndex, divot, startOffset, endOffset, line, column);
> 
> I think you need to handle inline call frames here, right?

As discussed offline, it turns out that codeBlock->expressionRangeForBytecodeIndex(codeOrigin.bytecodeIndex()) returns the correct source range even for inline call frames.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191113/8d719f6f/attachment-0001.htm>


More information about the webkit-unassigned mailing list