Correct concatenated isEnableCursorCache symbol #487
Reference in New Issue
Block a user
Delete Branch "agent/bittle/cursor-cache-symbol"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Evidence
One 43U symbol at 0x81427DD4 accidentally concatenates two complete names:
isEnableCursorCache__Q39textinput10textdrawer4BaseCFvgetStartPos__Q39textinput10textdrawer4BaseCFv.Restore the canonical
isEnableCursorCache__Q39textinput10textdrawer4BaseCFv. The original body is exactlylbz r3, 0x104(r3); blr, matching the existing ordinary C++return mbCursorCache;. The distinct next function,getStartPosat 0x81427DDC, loads the 32-bit field at 0xBC instead. The compiler-generated method and vtable relocations already use the corrected name.No function address, size, section extent, source implementation, vtable contents or weak-symbol policy changes. This fixes symbol identity rather than removing deduplicated weak vtables or forcing source aliases.
Fresh verification
Rebased against
3946983f. Fresh rebuild of tiInputForm, tiTextDrawer and MyTiLetterForm, regenerated reference objects and full report..datasection now reports 100%. Its separate.rodataownership correction is PR #486, not included here.build/43U/okpass, SHA-1 26116613f624061ba99c8d1a299aaa6efa85670d.All units remain at their existing linking status. Numbers reflect corrected attribution of existing compiled code/data, not new decompilation. Local ctxdiff uses the previously disclosed adapter. Left for Cole's review and merge.
Reviewed and merged. Clean rebuild: DOL sha1 unchanged, 0 regressions. The concatenated name was clearly a symbol-table artifact (body is lbz r3,0x104(r3); blr and getStartPos is a separate function at 0x81427DDC), so restoring the canonical mangled name is right. This should also unblock linking tiTextDrawer, which #485's author tried and hit an undefined isEnableCursorCache.
Review (post-merge): this is a good fix. Correcting a corrupted symbol name with no address/size change is legitimate, and the evidence (target body
lbz r3,0x104(r3); blr, distinct next function, before/after per unit, DOL sha1) is exactly what we want. For future PRs like this:__Q) and fix them together in one PR with a list.