volatility3.cli.text_renderer module
- class CLIRenderer(options=None)[source]
Bases:
Renderer
Class to add specific requirements for CLI renderers.
Accepts an options object to configure the renderers.
- name = 'unnamed'
- abstract render(grid)
Takes a grid object and renders it based on the object’s preferences.
- Return type:
- structured_output = False
- class CSVRenderer(options=None)[source]
Bases:
CLIRenderer
Accepts an options object to configure the renderers.
- name = 'csv'
- structured_output = True
- class JsonLinesRenderer(options=None)[source]
Bases:
JsonRenderer
Accepts an options object to configure the renderers.
- name = 'JSONL'
- render(grid)
Takes a grid object and renders it based on the object’s preferences.
- structured_output = True
- class JsonRenderer(options=None)[source]
Bases:
CLIRenderer
Accepts an options object to configure the renderers.
- name = 'JSON'
- structured_output = True
- class NoneRenderer(options=None)[source]
Bases:
CLIRenderer
Outputs no results
Accepts an options object to configure the renderers.
- name = 'none'
- render(grid)[source]
Takes a grid object and renders it based on the object’s preferences.
- Return type:
- structured_output = False
- class PrettyTextRenderer(options=None)[source]
Bases:
CLIRenderer
Accepts an options object to configure the renderers.
- name = 'pretty'
- render(grid)[source]
Renders each column immediately to stdout.
This does not format each line’s width appropriately, it merely tab separates each field
- structured_output = False
- class QuickTextRenderer(options=None)[source]
Bases:
CLIRenderer
Accepts an options object to configure the renderers.
- name = 'quick'
- render(grid)[source]
Renders each column immediately to stdout.
This does not format each line’s width appropriately, it merely tab separates each field
- structured_output = False
- display_disassembly(disasm)[source]
Renders a disassembly renderer type into string format.
- Parameters:
disasm (
Disassembly
) – Input disassembly objects- Return type:
- Returns:
A string as rendered by capstone where available, otherwise output as if it were just bytes