-#! /usr/bin/perl
-#
# $Id$
# Captive project doc Reverse Engineering page Perl template.
-# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# Copyright (C) 2003-2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
use strict;
use warnings;
-BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
use My::Web;
require CGI;
BEGIN { Wuse 'project::captive::doc::Macros'; }
+sub handler
+{
project::captive::doc::Macros->init(
- "__PACKAGE__"=>__PACKAGE__,
"title"=>'Captive NTFS Developer Documentation: Reverse Engineering',
- "rel_prev"=>'Components.html.pl',
- "rel_next"=>'CacheManager.html.pl',
+ "rel_prev"=>'Components.pm',
+ "rel_next"=>'CacheManager.pm',
);
print <<"HERE";
-<a name="reverse"><h1>Reverse Engineering</h1></a>
+<h1 id="reverse">Reverse Engineering</h1>
<p>This project has no intentions to reverse engineer and document the
filesystem data structures themselves since they are being encapsulated by
interpret debug symbols from W32 <span class="fname">.PDB</span>
(Program DataBase) debug information files.</p>
- <a name="dumpbin"><h2><span class="productname">dumpbin.exe</span></h2></a>
+ <h2 id="dumpbin"><span class="productname">dumpbin.exe</span></h2>
<p>You should use the following options for
<span class="productname">dumpbin.exe</span>:</p>
<p>PDB file found at '.\\FILENAME.pdb'</p>
</blockquote>
- <a name="WinDbg"><h2><span class="productname">WinDbg</span> Windows NT kernel debugging</h2></a>
+ <h2 id="WinDbg"><span class="productname">WinDbg</span> Windows NT kernel debugging</h2>
<p><span class="productname">WinDbg</span> is downloadable from:
@{[ a_href 'http://www.microsoft.com/whdc/ddk/debugging/installx86.mspx' ]}</p>
hardware and you can connect them by a virtual serial port provided by
<span class="productname">VMware</span>.</p>
- <a name="WinDbg_WinDbg"><h3><span class="productname">WinDbg</span> side setup</h3></a>
+ <h3 id="WinDbg_WinDbg"><span class="productname">WinDbg</span> side setup</h3>
@{[ doc_img 'ntdebug-vmware-windbg',
'<span class="productname">VMware</span> virtual serial port'
@{[ doc_img 'ntdebug-windbg-port','Port settings of <span class="productname">WinDbg</span>' ]}
@{[ doc_img 'ntdebug-windbg-sym','Symbols files location of <span class="productname">WinDbg</span>' ]}
- <span class="constant">Symbols</span> should point to the directory where
+ <p><span class="constant">Symbols</span> should point to the directory where
reside files extracted from the symbol archive for your version of
<span class="productname">Microsoft Windows</span>. In the case of the
recommended <span class="productname">Microsoft Windows XP Service Pack 1 Checked Build</span>
@{[ doc_img 'ntdebug-windbg-boot','Successfuly connected <span class="productname">WinDbg</span>' ]}
- <a name="WinDbg_kern"><h3>Setup of the side being kernel-debugged</h3></a>
+ <h3 id="WinDbg_kern">Setup of the side being kernel-debugged</h3>
@{[ doc_img 'ntdebug-vmware-xpdebug',
'<span class="productname">VMware</span> virtual serial port'
project::captive::doc::Macros->footer();
+}
+1;