NAME
pbc_disassemble - Parrot disassembler
SYNOPSIS
pbc_disassemble [-bdh?] [-o outfile] [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.
Without non-option arguments it reads the pbc from STDIN.
Functions
"static void help(void)"
Print out the user help info.
"int main(int argc, const 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, const char *outfile, int options)"
Do the disassembling.
"option" is currently used to pass debugging flags to the packfile
reader.
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).
Add options: help, -h, -o, --debug, --bare (2009-01-29)
Force option 1 for passing version check (2009-03-07)