capstone¶
The Capstone disassembler.
Capstone: https://www.capstone-engine.org/.
Classes
|
Disassembles the given code with Capstone. |
- class undertale.datasets.pipeline.disassemblers.capstone.CapstoneDisassembler(*args, **kwargs)¶
Bases:
PipelineStepDisassembles the given code with Capstone.
- Parameters:
architecture – A Capstone architecture constant.
mode – A Capstone mode constant.
base – The base address to use for disassembly.
- Input:
Raw shellcode (or compiled, individual functions).
- Output:
Adds a field to the metadata called disassembly containing the disassembled code produced by Capstone. Does not modify the text field.