binary

Binary segmentation, disassembly, and decompilation.

Functions

segment_and_disassemble(row)

segment_and_disassemble_binary(input, output)

Segment and disassemble a binary code dataset.

undertale.pipeline.binary.segment_and_disassemble_binary(input: str, output: str) str

Segment and disassemble a binary code dataset.

Note: this has not yet been tested with shellcode - only fully-formed binary formats. Adding support for that may come later.

Parameters:
  • input – Path to the binary dataset.

  • output – Path where the segmented, disassembled binary dataset should be written.

Returns:

The path to the generated dataset.

Raises:

SchemaError – If the input dataset does not match BinaryDataset.