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

Function free_aios2

g2all/900/lapse.js:356–370  ·  view source on GitHub ↗
(ids_p, num_ids)

Source from the content-addressed store, hash-verified

354}
355
356function free_aios2(ids_p, num_ids) {
357 const len = max_aio_ids;
358 const rem = num_ids % len;
359 const num_batches = (num_ids - rem) / len;
360 for (let bi = 0; bi < num_batches; bi++) {
361 const addr = ids_p.add((bi << 2) * len);
362 aio_multi_poll(addr, len);
363 aio_multi_delete(addr, len);
364 }
365 if (rem) {
366 const addr = ids_p.add((num_batches << 2) * len);
367 aio_multi_poll(addr, len);
368 aio_multi_delete(addr, len);
369 }
370}
371
372function get_our_affinity(mask) {
373 sysi(

Callers 3

leak_kernel_addrsFunction · 0.70
double_free_reqs1Function · 0.70
kexploitFunction · 0.70

Calls 3

aio_multi_pollFunction · 0.70
aio_multi_deleteFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected