Skip to content

Python script that lets you generate HTML report of code object disassembly.

License

Notifications You must be signed in to change notification settings

m4reQ/dis_report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYTHON CODE OBJECT DISSASEMBLY REPORT GENERATOR

A python script that lets you generate bytecode object dissasembly report which contains all important informations about it. Everything wrapped in small IDLE-styled HTML file.

USAGE

cmd:

py -m dis_report <module_name> <object_name> -o <output_file>

Where object_name is the name of python object from which to retrieve code.
python:

import dis_report

def my_function(foo):
	print(foo)

report = dis_report.generate_report_html(my_function.__code__)

Where report variable is a complete HTML document that can be later written to a file and opened in browser.

About

Python script that lets you generate HTML report of code object disassembly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages