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

Method output_disasm

deps/v8/tools/grokdump.py:3371–3384  ·  view source on GitHub ↗
(self, f, straddress, strexact)

Source from the content-addressed store, hash-verified

3369 return
3370
3371 def output_disasm(self, f, straddress, strexact):
3372 try:
3373 self.output_header(f)
3374 address = int(straddress, 0)
3375 if not self.reader.IsValidAddress(address):
3376 f.write("<h3>Address 0x%x not found in the dump.</h3>" % address)
3377 return
3378 region = self.reader.FindRegion(address)
3379 self.output_disasm_range(
3380 f, region[0], region[0] + region[1], address, strexact == "on")
3381 self.output_footer(f)
3382 except ValueError:
3383 f.write("<h3>Unrecognized address format \"%s\".</h3>" % straddress)
3384 return
3385
3386 def output_disasm_range(
3387 self, f, start_address, end_address, highlight_address, exact):

Callers 1

do_GETMethod · 0.80

Calls 7

output_headerMethod · 0.95
output_disasm_rangeMethod · 0.95
output_footerMethod · 0.95
intFunction · 0.85
IsValidAddressMethod · 0.80
FindRegionMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected