WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
300502
Fix UnretainedCallArgs errors in GeneratedWebKitSecureCoding.mm
https://bugs.webkit.org/show_bug.cgi?id=300502
Summary
Fix UnretainedCallArgs errors in GeneratedWebKitSecureCoding.mm
Frédéric Wang Nélar
Reported
2025-10-10 05:13:44 PDT
There are several calls to isKindOfClass that seem to receive an unretained argument, for example:
https://build.webkit.org/results/Apple-Sequoia-Safer-CPP-Checks/301307@main%20(5567)/scan-build-output/StaticAnalyzer/WebKit/StaticAnalyzerReports/report-GeneratedWebKitSecureCoding.mm-CoreIPCAVOutputContext-3-6f5ea8.html#EndPath
I guess most of them will be fixed by tweaking the relevant places in the python generator script:
https://searchfox.org/wubkat/search?q=isKindOfClass%3A&path=generate-serializers.py&case=true®exp=false
Attachments
Add attachment
proposed patch, testcase, etc.
Frédéric Wang Nélar
Comment 1
2025-10-10 05:15:53 PDT
(In reply to Frédéric Wang (:fredw) from
comment #0
)
>
https://searchfox.org/wubkat/search?q=isKindOfClass%3A&path=generate
- > serializers.py&case=true®exp=false
https://searchfox.org/wubkat/rev/dd05eb230972a07f0240b959e6e22ca685ef3445/Source/WebKit/Scripts/generate-serializers.py#395
even
Frédéric Wang Nélar
Comment 2
2025-10-10 05:41:10 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52116
EWS
Comment 3
2025-10-11 02:46:10 PDT
Committed
301353@main
(08f7cb918061): <
https://commits.webkit.org/301353@main
> Reviewed commits have been landed. Closing PR #52116 and removing active labels.
Radar WebKit Bug Importer
Comment 4
2025-10-11 02:47:14 PDT
<
rdar://problem/162426063
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug