MCPcopy Create free account
hub / github.com/Cryptogenic/PS5-IPV6-Kernel-Exploit / build_addr

Function build_addr

document/en/ps5/exploit.js:340–345  ·  view source on GitHub ↗
(buf, family, port, addr)

Source from the content-addressed store, hash-verified

338 }
339
340 function build_addr(buf, family, port, addr) {
341 p.write1(buf.add32(0x00), 0x10);
342 p.write1(buf.add32(0x01), family);
343 p.write2(buf.add32(0x02), port);
344 p.write4(buf.add32(0x04), addr);
345 }
346
347 // Logging
348 let log_sock_fd_store = p.malloc(0x4);

Callers 1

userlandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected