Sign in Join
Wiki copytemporary

PPUDump: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11From [FreePascal User's Manual](ftp://ftp.freepascal.org/pub/fpc/docs-pdf/user.pdf):
22
33ppudump is a program, which shows the contents of a Free Pascal unit. It is distributed with the compiler. You can just issue the following command
44
5-` ppudump [options] foo.ppu`
5+```text
6+ ppudump [options] foo.ppu
7+```
68
79to display the contents of the foo.ppu unit. You can specify multiple files on the command line.
810
911The options can be used to change the verbosity of the display. By default, all available information is displayed. You can set the verbosity level using the -Vxxx option. Here, xxx is a combination of the following letters:
1012
1113h: show header info.
1214
1315i: show interface information.
1416
1517m: show implementation information.
1618
1719d: show only (interface) definitions.
1820
1921s: show only (interface) symbols.
2022
2123b: show browser info.
2224
2325a: show everything (default if no -V option is present).
2426
2527# example output
2628
2729ppudump unit1.ppu
2830
2931 PPU-Analyser Version 3.1.1
3032 Copyright (c) 1998-2013 by the Free Pascal Development Team
3133
3234 Analyzing unit1.ppu (v195)
3335
3436 Header
3537 -------
3638 Compiler version : 3.1.1
3739 Target processor : x86_64
3840 Target operating system : Linux-x86-64
3941 Unit flags : init, static_linked, little_endian, has_debug_info, dwarf_debug_info, local_symtable
4042 FileSize (w/o header) : 97855
4143 Checksum : 52269C9E
4244 Interface Checksum : 8B95EA98
4345 Indirect Checksum : DA0A4D1C
4446 Definitions stored : 312
4547 Symbols stored : 960
4648
4749 Interface section
4850 ------------------
4951 Module Name: Unit1
5052
5153 Source file 1 : unit1.pas 2017/10/19 12:04:48
5254 Source file 2 : unit1.lrs 2017/10/19 11:26:00
5355 Uses unit: System (Crc: 0071642B, IntfcCrc: 675CDF65, IndCrc: 3EF9017F)
5456 Uses unit: objpas (Crc: 0C0DE648, IntfcCrc: 8F0C59F0, IndCrc: 09D16E16)
5557 Uses unit: Classes (Crc: 2BD4311F, IntfcCrc: FEC1B15D, IndCrc: A2A74441)
5658 Uses unit: sysutils (Crc: 673DB7A8, IntfcCrc: FB3278AD, IndCrc: 029F2F57)
5759 Uses unit: FileUtil (Crc: DDDF8F2E, IntfcCrc: 91946678, IndCrc: 773AB234)
5860 Uses unit: LResources (Crc: B1B5CBCA, IntfcCrc: BD6404C3, IndCrc: 07FAEA28)
5961 Uses unit: Forms (Crc: 7BD93F9B, IntfcCrc: 4CED5DD1, IndCrc: 5876762D)
6062 Uses unit: Controls (Crc: B19F0092, IntfcCrc: 748FCEC1, IndCrc: 7E2DABAF)
6163 Uses unit: Graphics (Crc: 047DF96C, IntfcCrc: 7F769B7A, IndCrc: 25206CE8)
6264 Uses unit: Dialogs (Crc: F3CCBFDB, IntfcCrc: BA984012, IndCrc: 64641653)
6365 Uses unit: StdCtrls (Crc: C7C6F1A3, IntfcCrc: 320098AF, IndCrc: D6382504)
6466 Uses unit: uCmdBox (Crc: 63BFCCE9, IntfcCrc: FA038A54, IndCrc: 7A21D263)
6567 Uses unit: GifAnim (Crc: 75FA8DA5, IntfcCrc: EB25FB6B, IndCrc: 65C55C81)
6668 Link unit object file: unit1.o (static )
6769 DerefMapsize: 15
6870 DerefMap[0] = SYSTEM
6971 DerefMap[1] = FORMS
7072 DerefMap[2] = CONTROLS
7173 DerefMap[3] = CLASSES
7274 DerefMap[4] = STDCTRLS
7375 DerefMap[5] = LCLCLASSES
7476 DerefMap[6] = WSLCLCLASSES
7577 DerefMap[7] = TYPES
7678 DerefMap[8] = LCLTYPE
7779 DerefMap[9] = LMESSAGES
7880 DerefMap[10] = GRAPHTYPE
7981 DerefMap[11] = MENUS
8082 DerefMap[12] = GRAPHICS
8183 DerefMap[13] = OBJPAS
8284 DerefMap[14] = LRESOURCES
8385 Derefdata length: 18605
8486
8587 Interface symtable
8688 ----------------------
8789 Symtable options: none
8890
8991 Interface definitions
9092 ----------------------
9193 ** Definition Id 0 **
9294 Object/Class definition
9395 Type symbol : (0) SymId 2
9496 DefOptions :
9597 DefStates : VMT Written, RTTITable Used, InitTable Used, RTTITable Written, InitTable Written, Dwarf DbgInfo Written
9698 Name of Class : TForm1
9799 Import lib/pkg :
98100 Options : HasVirtual, HasPrivate, HasProtected, HasConstructor, HasDestructor, HasVMT, CanHavePublished
99101 Type : class
100102 Helper Type : none
101103 External name :
102104 DataSize : 1904
103105 PaddingSize : 0
104106 FieldAlign : 0
105107 RecordAlign : 8
106108 RecordAlignMin : 0
107109 VmtField : (8) Unit 0, SymId 4244
108110 Ancestor Class : (17) Unit 1, DefId 1093
109111 Abstract methods : 0
110112 VMT entries: 307
111113 (129) Unit 1, DefId 864
112114 Visibility: public
113115 (138) Unit 5, DefId 10
114116 Visibility: public
115117 (147) Unit 0, DefId 749
116118 Visibility: public
117119 (156) Unit 3, DefId 1586
118120 Visibility: public
119121 ----
120122
121123... lots of info
122124
123125---
124126*From the Free Pascal wiki, page "PPUDump", as it stood on 2019-08-28 after a change by Polluks, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
125127Category: FPC

Back to history