Python stdlib module — dis. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.dis()Neutraldis(x, file, depth, show_caches, adaptive)
Disassemble classes, methods, functions, and other compiled objects.
.disassemble()Neutraldisassemble(co, lasti, file, show_caches, adaptive)
Disassemble a code object.
.distb()Neutraldistb(tb, file, show_caches, adaptive)
Disassemble a traceback (default: last traceback).
.findlabels()Neutralfindlabels(code)
Detect all offsets in a byte code which are jump targets.
.findlinestarts()Neutralfindlinestarts(code)
Find the offsets in a byte code which are start of lines in the source.
.get_instructions()Neutralget_instructions(x, first_line, show_caches, adaptive)
Iterator for the opcodes in methods, functions or code
| FQN | Field | |
|---|---|---|
| dis | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import dis