binaryninja.interaction.show_html_report

binaryninja.interaction.show_html_report(title, contents, plaintext='')[source]

show_html_report displays the html contents in UI applications and plaintext in command line applications.

Note: This API function differently on the command line vs. the UI. In the UI a popup is used. On the commandline
a simple text prompt is used.
Parameters:
  • contents (str) – HTML contents to display
  • plaintext (str) – Plain text version to display (used on the command line)
Return type:

None

Example:
>>> show_html_report("title", "<h1>Contents</h1>", "Plain text contents")
Plain text contents