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

Method do_list

deps/v8/tools/grokdump.py:4011–4020  ·  view source on GitHub ↗

List all available memory regions.

(self, smth)

Source from the content-addressed store, hash-verified

4009 self.padawan.known_first_map_page = page_address
4010
4011 def do_list(self, smth):
4012 """
4013 List all available memory regions.
4014 """
4015 def print_region(reader, start, size, location):
4016 print(" %s - %s (%d bytes)" % (reader.FormatIntPtr(start),
4017 reader.FormatIntPtr(start + size),
4018 size))
4019 print("Available memory regions:")
4020 self.reader.ForEachMemoryRegion(print_region)
4021
4022 def do_lm(self, arg):
4023 """ see list_modules """

Callers

nothing calls this directly

Calls 2

ForEachMemoryRegionMethod · 0.80
printFunction · 0.70

Tested by

no test coverage detected