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

Function spray_aio

g2all/700/lapse.js:330–337  ·  view source on GitHub ↗
(loops = 1, reqs1_p, num_reqs, ids_p, multi = true, cmd = AIO_CMD_READ)

Source from the content-addressed store, hash-verified

328}
329
330function spray_aio(loops = 1, reqs1_p, num_reqs, ids_p, multi = true, cmd = AIO_CMD_READ) {
331 const step = 4 * (multi ? num_reqs : 1);
332 cmd |= multi ? AIO_CMD_FLAG_MULTI : 0;
333 for (let i = 0, idx = 0; i < loops; i++) {
334 aio_submit_cmd(cmd, reqs1_p, num_reqs, ids_p.add(idx));
335 idx += step;
336 }
337}
338
339function poll_aio(ids, states, num_ids = ids.length) {
340 if (states !== undefined) {

Callers 3

leak_kernel_addrsFunction · 0.70
double_free_reqs1Function · 0.70
setupFunction · 0.70

Calls 2

aio_submit_cmdFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected