Files
AnyPS5/docs/dev/debt/changes/fix-libSceJson2-array-aliasing.md

1.0 KiB

libSceJson2

add Unknown 3.20 import declarations

  • Overlapping array iterator outputs (libSceJson2) - measured on a retail PS5 (13.60): when the result iterator overlaps its array, begin and end publish a null iterator after admitting one iterator-state allocation, while insert and erase complete their mutation and publish the new state over the array header. Overlapping the position, they publish a fresh state into the position buffer; the reference leaves return-register residue, unreproduced. Copy construction over overlapping storage stores the default first, copies nothing without allocating, and at full overlap reads back that stored default. Only full and no overlap were measured; partial overlaps assume these rules. A parse destination overlapping its text buffer still throws: the reference does not snapshot the text (offset 8 of the Value parses with one payload slot unwritten, offset 4 self-corrupts into JsonErrorParse); byte-level contract unmeasured.