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

Method format_address

deps/v8/tools/grokdump.py:2930–2940  ·  view source on GitHub ↗
(self, maybeaddress, straddress = None)

Source from the content-addressed store, hash-verified

2928 f.write("<td %s>" % self.comments.get_style_class_string(address))
2929
2930 def format_address(self, maybeaddress, straddress = None):
2931 if maybeaddress is None:
2932 return "not in dump"
2933 else:
2934 if straddress is None:
2935 straddress = "0x" + self.reader.FormatIntPtr(maybeaddress)
2936 style_class = ""
2937 if not self.reader.IsValidAddress(maybeaddress):
2938 style_class = "class=nd"
2939 return ("<a %s href=s?%s&amp;val=%s>%s</a>" %
2940 (style_class, self.encfilename, straddress, straddress))
2941
2942 def format_onheap_address(self, size, maybeaddress, uncompressed):
2943 if maybeaddress is None:

Callers 9

output_stack_traceMethod · 0.95
output_address_rangesMethod · 0.95
output_contextMethod · 0.95
output_wordsMethod · 0.95
format_disasm_lineMethod · 0.95
output_find_resultsMethod · 0.95

Calls 2

IsValidAddressMethod · 0.80
FormatIntPtrMethod · 0.45

Tested by

no test coverage detected