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

Method do_display_ascii

deps/v8/tools/grokdump.py:3831–3840  ·  view source on GitHub ↗

Print ASCII string starting at specified address.

(self, address)

Source from the content-addressed store, hash-verified

3829 return self.do_display_ascii(address)
3830
3831 def do_display_ascii(self, address):
3832 """
3833 Print ASCII string starting at specified address.
3834 """
3835 address = self.ParseAddressExpr(address)
3836 string = self.reader.ReadAsciiString(address)
3837 if string == "":
3838 print("Not an ASCII string at %s" % self.reader.FormatIntPtr(address))
3839 else:
3840 print("%s\n" % string)
3841
3842 def do_dsa(self, address):
3843 """ see display_stack_ascii"""

Callers 1

do_daMethod · 0.95

Calls 4

ParseAddressExprMethod · 0.95
ReadAsciiStringMethod · 0.80
printFunction · 0.70
FormatIntPtrMethod · 0.45

Tested by

no test coverage detected