MCPcopy Index your code
hub / github.com/nodejs/node / print_object_next

Function print_object_next

deps/v8/tools/windbg.js:450–460  ·  view source on GitHub ↗
(addr, max_slots = 100)

Source from the content-addressed store, hash-verified

448}
449
450function print_object_next(addr, max_slots = 100) {
451 let obj_addr = find_object_next(addr, max_slots);
452 if (!obj_addr) {
453 print(
454 `No object found within ${max_slots} slots following ${hex(addr)}`);
455 }
456 else {
457 print(
458 `found object: ${hex(obj_addr + 1)} : ${hex(poim(obj_addr))}`);
459 }
460}
461
462// This function assumes that pointers to objects are stored at ptr-size aligned
463// boundaries.

Callers

nothing calls this directly

Calls 4

find_object_nextFunction · 0.85
poimFunction · 0.85
printFunction · 0.70
hexFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…