$ the-wire · showcase
Swift backtracing hardens its ELF parser; Flutter fixes WebGL clipping on web
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Swift's backtracing runtime closes four arithmetic overflow paths and a divide-by-zero in corrupt or invalid debug data, while Flutter's web engine stops leaving transparent strips in large images exported through Picture.toImage().
[Backtracing] Fix various ELF parser bugs relating to corrupt ELF images. apple/swift
The ELF parser now clamps the four overflow sites it previously computed unchecked (in ehFrameInfo, the note iterator, segment ends, and note parsing), so a corrupt image hits an error path instead of undefined arithmetic. The same patch stops rebuilding the symbol table when there is no .symtab and stops re-walking notes when there is no build ID, which removes repeated work from every crash r...
[Backtracing] Fix possible divide-by-zero. apple/swift
Invalid DWARF claiming a max-ops-per-instruction of zero triggered a divide-by-zero trap in the DWARF reader; the fix clamps to a minimum of 1. If you capture backtraces from binaries you do not control the debug info for, this is the kind of input that used to take the reporter down.
[web] Recreate canvas and context on CkOffscreenSurface resize to fix WebGL clipping (#192769) flutter/flutter
Chrome may silently clamp the physical WebGL drawing buffer during in-place canvas resizing, leaving pixels outside the clamped region unbacked. CkOffscreenSurface now detects the clamp on resize and recreates the canvas and context, which addresses the transparent strips seen when exporting large images via Picture.toImage() (part of issue 182476).
[Impeller] Reland clipped BackdropFilter square corners fix (#195716) flutter/flutter
The square-corners fix for clipped BackdropFilter lands as a reland after the earlier attempt was revised: EntityPassClipStack::RecordRestore previously popped a single clip replay entry unconditionally, regardless of what the restore actually required. Four tracked issues, including 162172 and 192992, are marked fixed by this change.
[Android] Use the shared C++ runtime when cross-compiling the corelibs (#93399) apple/swift
CMake on Android defaulted to c++_static, so lib_FoundationICU.so carried its own libc++ and libc++abi and exported roughly 1,600 of their symbols. Setting CMAKE_ANDROID_STL_TYPE=c++_shared brings the corelibs in line with the Android runtime libraries, which already link libc++_shared.so.
Goma is dead, long live RBE! (Take 2) flutter/flutter
The long tail is build infrastructure: Goma gives way to RBE (a second attempt after the first raced a new config still using the removed flag), the mac_host_arm64 tests split by --type so a flake reruns one step instead of a 25 to 27 minute run, and the DevTools customer tests move into their own shard off the ~36 minute Linux customer_testing presubmit.