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

Method restore

g2all/900/psfree.js:344–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

342
343 // remember to use this to fix up the StringImpl before freeing it
344 restore() {
345 this.rstr_view.write64(off.strimpl_m_data, this.m_data);
346 this.rstr_view.write32(off.strimpl_strlen, original_strlen);
347 }
348}
349
350// we now have a double free on the fastMalloc heap

Callers 1

make_arwFunction · 0.45

Calls 2

write64Method · 0.45
write32Method · 0.45

Tested by

no test coverage detected