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

Function find_object_prev

deps/v8/tools/windbg.js:422–428  ·  view source on GitHub ↗
(addr, max_distance)

Source from the content-addressed store, hash-verified

420}
421
422function find_object_prev(addr, max_distance) {
423 if (!Number.isSafeInteger(int(addr))) return;
424
425 const ptr_size = tagged_size();
426 const aligned_addr = addr - (addr % ptr_size);
427 return find_object_near(aligned_addr, max_distance, x => x - ptr_size);
428}
429
430function find_object_next(addr, max_distance) {
431 if (!Number.isSafeInteger(int(addr))) return;

Callers 1

print_object_prevFunction · 0.85

Calls 3

intFunction · 0.85
tagged_sizeFunction · 0.85
find_object_nearFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…