The disassembler API allows you to introspect and manipulate disassemblers in slicer. slicer offers several disassemblers/decompilers out of the box, but this API makes it possible to add custom ones via a script.
All disassembler operations are done via a DisassemblerContext, which you can once again access on the context.
Every disassembler needs an ID and a run function that disassembles a class file byte array into a string representation. Optionally, a human-readable label can also be supplied.