memtab_visualizers.excel_report module¶
Excel Report class for memtab visualizers.
- class memtab_visualizers.excel_report.ExcelReport¶
Bases:
object
An Excel report generator for Memtab data.
This class creates Excel workbooks from memory table data, with separate worksheets for symbols and regions.
Note
The output Excel file will be named after the input ELF file, with the extension changed from .elf to .xlsx, and will be saved in the current working directory.
Output Format¶
The generated Excel file contains:
A “Symbols” worksheet containing all symbol information from the Memtab
A “Regions” worksheet containing all memory region information from the Memtab
Example¶
>>> report = ExcelReport() >>> report.generate_report(memtab, "output.xlsx") # Creates an Excel file in the current directory with the Memtab data
- generate_report(memtab, filename)¶
creates an excel workbook from the symbols and regions dataframes
- Return type:
None
- Args:
memtab (Memtab): the memory table to write to excel excel (str): the excel filename
- report_name = 'excel'¶