Turns out you can craft a valid JSArray using only the map address, e.g. with map 0x0018efb9, any 4 byte offset into the following is a valid(ish) JSarray:
0x0018efb90018efb9, 0x0018efb90018efb9, 0x0018efb90018efb9, 0x0018efb90018efb9
Makes spraying potentially more reliable 🤔
All the PoCs I've seen exploiting Chrome enum_cache OOB reads (CVE-2023-4427, CVE-2024-3159) rely on hard coded addresses for fakeobj primitives. Is that _really_ the best way to exploit these issues?