mirror of
https://github.com/morluto/rea.git
synced 2026-11-18 20:53:00 +00:00
* fix(native): report undecoded Objective-C category class properties inspect_native_dispatch_metadata read a category's instance property list and stopped. A category that also declares class properties kept `decode.status: "decoded"` and `objc_properties_categories` stayed complete, although its `_classProperties` list was never read. When the image info declares the field and the list is present, the category is now partial with `category_class_properties_not_decoded` and coverage names the list field, as protocols already do for their class property list. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * fix(native): keep a category whose class property field is unreadable Reading the image info flags or the `_classProperties` pointer could throw inside the category decode, which dropped the whole row and its already decoded name, methods, protocols and properties. Both reads now fail into a `category_class_properties_unreadable` issue at the failing field, and the category stays as a partial row. Same-named image infos are read together instead of taking the first. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * fix(native): report a truncated image info instead of reading it as absent A present `__objc_imageinfo` section shorter than its 8 bytes was filtered out, so a category in that image stayed decoded although whether its record ends in `_classProperties` is unknown. The category now keeps its decoded facts and is partial with `category_class_properties_unreadable`, located at the image info. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * fix(native): resolve the category class property field and read image flags once A bound `_classProperties` field read as zero and counted as a null list, and so did a zero whose pointer fixups are unknown. The field is now resolved through its fixup: a bind is a present list, and an unknown zero keeps the category partial with `category_class_properties_unreadable`. The image info declaration is read once per decode instead of once per category; an image info that declares the field decides. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>