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

Function is_likely_object

deps/v8/tools/windbg.js:389–395  ·  view source on GitHub ↗
(addr)

Source from the content-addressed store, hash-verified

387}
388
389function is_likely_object(addr) {
390 let address = int(addr);
391 if (!Number.isSafeInteger(address) || address % 2 == 0) return false;
392
393 // the first field in all objects must be a map pointer
394 return is_map(poim(address - 1));
395}
396
397function find_object_near(aligned_addr, max_distance, step_op) {
398 if (!step_op) {

Callers 3

print_objects_treeFunction · 0.85
implFunction · 0.85
dpFunction · 0.85

Calls 3

intFunction · 0.85
is_mapFunction · 0.85
poimFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…