pbc_disassemble(1) - Linux man page
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 show_last_error_and_exit(Parrot_PMC interp)"
- Prints out the "interp"'s last error and exits.
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)