Debian Codegraph @

doc/grokevt-ripdll.1.docbook

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id='grokevt-ripdll.1'>
3 <!-- $Id: grokevt-ripdll.1.docbook 119 2011-06-20 17:14:14Z tim $ -->
4 <refmeta>
5 <refentrytitle>grokevt-ripdll</refentrytitle>
6 <manvolnum>1</manvolnum>
7 <refmiscinfo class="sectdesc">File Conversion Utilities</refmiscinfo>
8 </refmeta>
9 <refnamediv id='name'>
10 <refname>grokevt-ripdll</refname>
11 <refpurpose>A tool for extracting message resources from a PE-formatted file.</refpurpose>
12 </refnamediv>
13
14 <refsect1 id='synopsis'>
15 <title>SYNOPSIS</title>
16 <para>
17 <command>
18 grokevt-ripdll <replaceable>input-dll</replaceable> <replaceable>output-db</replaceable>
19 </command>
20 </para>
21 </refsect1>
22
23 <refsect1 id='description'>
24 <title>DESCRIPTION</title>
25 <para>
26 grokevt-ripdll parses a PE-formatted file (modern .exe and .dll
27 files are examples PE-formatted files) and extracts all message
28 resources. These resources are then stored in a Berkeley-style
29 database file, which maps relative virtual addresses (RVAs) to
30 the message resources themselves. These RVAs are what can be
31 found in a windows event log file (.evt extension) to reference
32 the proper message resource.
33
34 This utility is not intended to be used directly by end-users.
35 It is used by grokevt-builddb(1) to extract resources from all
36 DLL/EXEs referenced in the registry.
37 </para>
38 </refsect1>
39
40 <refsect1 id='arguments'>
41 <title>ARGUMENTS</title>
42
43 <variablelist remap='IP'>
44 <varlistentry>
45 <term>
46 <option><replaceable>input-dll</replaceable></option>
47 </term>
48 <listitem>
49 <para>
50 This is the PE formatted file to extract resources
51 from. (It doesn't need to have a .dll extension, but
52 it is most commonly used on DLLs.)
53 </para>
54 </listitem>
55 </varlistentry>
56 </variablelist>
57
58 <variablelist remap='IP'>
59 <varlistentry>
60 <term>
61 <option><replaceable>output-db</replaceable></option>
62 </term>
63 <listitem>
64 <para>
65 The database file to store the RVA->message mapping
66 in. If this file already exists, it will be overwritten.
67 To extract the entries stored in this database, see
68 grokevt-dumpmsgs(1).
69 </para>
70 </listitem>
71 </varlistentry>
72 </variablelist>
73 </refsect1>
74
75 <refsect1 id='bugs'>
76 <title>BUGS</title>
77 <para>
78 Probably a few. This script has not been extensively tested with
79 some guest platforms or with non-english systems.
80 </para>
81 <para>
82 The documentation used as a reference for PE formatted files was
83 not complete or not completely accurate in places. Much
84 guess-and-check took place.
85 </para>
86 </refsect1>
87
88 <refsect1 id='credits'>
89 <title>CREDITS</title>
90 <para>
91 Original PE header code borrowed from the pymavis project.
92 For more information, see:
93 <screen>
94 http://www.mplayerhq.hu/~arpi/pymavis/
95 </screen>
96 </para>
97 <para>
98 Message resource parsing added by Timothy D. Morgan.
99 </para>
100 </refsect1>
101
102 <refsect1 id='license'>
103 <title>LICENSE</title>
104 <para>
105 Please see the file "LICENSE" included with this software
106 distribution.
107 </para>
108 <para>
109 This program is distributed in the hope that it will be useful,
110 but WITHOUT ANY WARRANTY; without even the implied warranty of
111 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
112 GNU General Public License version 3 for more details.
113 </para>
114 </refsect1>
115
116 <refsect1 id='seealso'>
117 <title>SEE ALSO</title>
118 <para>
119 grokevt(7) grokevt-addlog(1) grokevt-builddb(1) grokevt-dumpmsgs(1) grokevt-findlogs(1) grokevt-parselog(1)
120 </para>
121 </refsect1>
122 </refentry>