1MAIN.C(1)             User Contributed Perl Documentation            MAIN.C(1)
2
3
4

NAME

6       pbc_dump - Dump or convert Parrot bytecode (PBC) files
7

SYNOPSIS

9        pbc_dump [-tdh] [--terse|--disassemble|--header-only] file.pbc
10
11        pbc_dump -o converted.pbc file.pbc
12

DESCRIPTION

14       A program to dump pack files to human readable form.
15
16   Command-Line Options
17       "-d"
18           Disassemble bytecode segments.
19
20       "-h"
21           Dump the bytecode header only.
22
23       "-t"
24           Terse output.
25
26       "-o converted.pbc"
27           Repacks a PBC file into the platform's native binary format for
28           better efficiency on reading non-native PBCs.
29
30   Functions
31       "static void const_dump(PARROT_INTERP, const PackFile_Segment *segp)"
32           Dump the constant table.
33
34       "static void disas_dump(PARROT_INTERP, const PackFile_Segment *self)"
35           Disassemble and dump.
36
37       "static void nums_dump(PARROT_INTERP, const PackFile_Segment *self)"
38           Disassembles and dumps op names and line numbers only.
39
40       "static void null_dump(PARROT_INTERP, const PackFile_Segment *self)"
41           Produces no output for the given segment type.
42
43       "static void null_dir_dump(PARROT_INTERP, const PackFile_Segment
44       *self)"
45           Dumps all of the segments of the given PackFile_Directory, but
46           produces no output for the directory itself.
47
48       "static void PackFile_header_dump(PARROT_INTERP, const PackFile *pf)"
49           Dump the header.
50
51       "static void help(void)"
52           Print out the user help info.
53
54       "int main(int argc, const char **argv)"
55           The run loop. Process the command-line arguments and dump
56           accordingly.
57

SEE ALSO

59       src/packdump.c.
60
61
62
63perl v5.30.0                      2019-07-26                         MAIN.C(1)
Impressum