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

Method output_module_details

deps/v8/tools/grokdump.py:3140–3158  ·  view source on GitHub ↗
(self, f, module)

Source from the content-addressed store, hash-verified

3138 return
3139
3140 def output_module_details(self, f, module):
3141 f.write("<b>%s</b>" % GetModuleName(self.reader, module))
3142 file_version = GetVersionString(module.version_info.dwFileVersionMS,
3143 module.version_info.dwFileVersionLS)
3144 product_version = GetVersionString(module.version_info.dwProductVersionMS,
3145 module.version_info.dwProductVersionLS)
3146 f.write("<br>&nbsp;&nbsp;")
3147 f.write("base: %s" % self.reader.FormatIntPtr(module.base_of_image))
3148 f.write("<br>&nbsp;&nbsp;")
3149 f.write(" end: %s" % self.reader.FormatIntPtr(module.base_of_image +
3150 module.size_of_image))
3151 f.write("<br>&nbsp;&nbsp;")
3152 f.write(" file version: %s" % file_version)
3153 f.write("<br>&nbsp;&nbsp;")
3154 f.write(" product version: %s" % product_version)
3155 f.write("<br>&nbsp;&nbsp;")
3156 time_date_stamp = datetime.datetime.fromtimestamp(module.time_date_stamp)
3157 f.write(" timestamp: %s" % time_date_stamp)
3158 f.write("<br>");
3159
3160 def output_modules(self, f):
3161 self.output_header(f)

Callers 1

output_modulesMethod · 0.95

Calls 4

GetModuleNameFunction · 0.85
GetVersionStringFunction · 0.85
writeMethod · 0.45
FormatIntPtrMethod · 0.45

Tested by

no test coverage detected