Bug 304214
| Summary: | Introduce HexDump printing utility for dataLog() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Vassili Bykov <v_bykov> |
| Component: | JavaScriptCore | Assignee: | Vassili Bykov <v_bykov> |
| Status: | RESOLVED FIXED | ||
| Severity: | Enhancement | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Vassili Bykov
It's sometimes helpful in trace output to pint relatively large chunks of raw data such as stack frames in the traditional hex dump form. This patch introduces a new printing plug-in for dataLog() to do just that.
Examples:
dataLogLn("Interesting data:", HexDump(start_ptr, byte_size));
dataLogLn("Interesting data:", HexDump(std::span(start_ptr, element_count)));
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/166570876>
Vassili Bykov
Pull request: https://github.com/WebKit/WebKit/pull/55434
EWS
Committed 304560@main (fdc2659799c0): <https://commits.webkit.org/304560@main>
Reviewed commits have been landed. Closing PR #55434 and removing active labels.