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

Method FindPtr

deps/v8/tools/grokdump.py:951–959  ·  view source on GitHub ↗
(self, expected_value, start, end)

Source from the content-addressed store, hash-verified

949 self.ForEachMemoryRegion(search_inside_region)
950
951 def FindPtr(self, expected_value, start, end):
952 ptr_size = self.MachinePointerSize()
953 for slot in range(start, end, ptr_size):
954 if not self.IsValidAddress(slot):
955 return None
956 value = self.ReadUIntPtr(slot)
957 if value == expected_value:
958 return slot
959 return None
960
961 def FindWordList(self, word):
962 aligned_res = []

Callers 5

TryExtractStackTraceMethod · 0.80
output_stack_traceMethod · 0.80

Calls 4

MachinePointerSizeMethod · 0.95
IsValidAddressMethod · 0.95
ReadUIntPtrMethod · 0.95
rangeFunction · 0.50

Tested by

no test coverage detected