NAME ^

pbc_disassemble - Parrot disassembler

SYNOPSIS ^

    pbc_disassemble file.pbc

DESCRIPTION ^

This uses the Parrot_disassemble() function from src/embed.c, which in turn uses the PDB_disassemble() function from src/debug.c.

Functions ^

int main(int argc, char *argv[])

The run-loop. Starts up an interpreter, loads the bytecode from the command-line and disassembles it.

static void do_dis(Parrot_Interp interp)

Do the disassembling.

SEE ALSO ^

src/embed.c and src/debug.c.

HISTORY ^

Initial version by Daniel Grunblatt on 2002.5.26.

Florian Ragwitz: Moved POD documentation that's not necessary to know how to actually run the disassembler to normal C comments (Wed, 16 Nov 2005).

Reini Urban: Renamed from disassemble to pbc_disassemble (2008-07-03).


parrot