pbc_dump - Man Page

Dump or convert Parrot bytecode (PBC) files


 pbc_dump [-tdh] [--terse|--disassemble|--header-only] file.pbc

 pbc_dump -o converted.pbc file.pbc


A program to dump pack files to human readable form.

Command-Line Options


Disassemble bytecode segments.


Dump the bytecode header only.


Terse output.

-o converted.pbc

Repacks a PBC file into the platform's native binary format for better efficiency on reading non-native PBCs.


static void const_dump(PARROT_INTERP, const PackFile_Segment *segp)

Dump the constant table.

static void disas_dump(PARROT_INTERP, const PackFile_Segment *self)

Disassemble and dump.

static void nums_dump(PARROT_INTERP, const PackFile_Segment *self)

Disassembles and dumps op names and line numbers only.

static void null_dump(PARROT_INTERP, const PackFile_Segment *self)

Produces no output for the given segment type.

static void null_dir_dump(PARROT_INTERP, const PackFile_Segment *self)

Dumps all of the segments of the given PackFile_Directory, but produces no output for the directory itself.

static void PackFile_header_dump(PARROT_INTERP, const PackFile *pf)

Dump the header.

static void help(void)

Print out the user help info.

int main(int argc, const char **argv)

The run loop. Process the command-line arguments and dump accordingly.

See Also



2020-06-15 perl v5.30.3 User Contributed Perl Documentation