MCPcopy Create free account
hub / github.com/nodejs/node / ReadAsciiPtr

Method ReadAsciiPtr

deps/v8/tools/grokdump.py:851–856  ·  view source on GitHub ↗
(self, address)

Source from the content-addressed store, hash-verified

849 return ctypes.c_uint32.from_buffer(self.minidump, location).value
850
851 def ReadAsciiPtr(self, address):
852 ascii_content = [
853 chr(c) if c >= 0x20 and c < 0x7f else '.'
854 for c in self.ReadBytes(address, self.MachinePointerSize())
855 ]
856 return ''.join(ascii_content)
857
858 def ReadAsciiString(self, address):
859 string = ""

Callers 1

InterpretMemoryMethod · 0.80

Calls 3

ReadBytesMethod · 0.95
MachinePointerSizeMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected